Skip to content

Commit

Permalink
fix: add placeholder to device field on config flow
Browse files Browse the repository at this point in the history
  • Loading branch information
mukaschultze authored Jul 10, 2024
1 parent 67da731 commit 7fa4be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/must_inverter/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
DEVICE_UNIQUE_ID = "must_inverter"

SERIAL_SCHEMA =vol.Schema({
vol.Required("device"): str,
vol.Required("device", default="/dev/ttyUSB0"): str,
vol.Required("baudrate", default=19200): int,
vol.Required("parity", default="N"): str,
vol.Required("stopbits", default=1): int,
Expand Down

0 comments on commit 7fa4be3

Please sign in to comment.