Improve mysensors config flow (#75122)
* Improve mysensors config flow * Improve form input order * Update flow tests
This commit is contained in:
parent
1aa0e64354
commit
e864b82c03
5 changed files with 113 additions and 137 deletions
|
@ -22,11 +22,6 @@ ConfGatewayType = Literal["Serial", "TCP", "MQTT"]
|
|||
CONF_GATEWAY_TYPE_SERIAL: ConfGatewayType = "Serial"
|
||||
CONF_GATEWAY_TYPE_TCP: ConfGatewayType = "TCP"
|
||||
CONF_GATEWAY_TYPE_MQTT: ConfGatewayType = "MQTT"
|
||||
CONF_GATEWAY_TYPE_ALL: list[str] = [
|
||||
CONF_GATEWAY_TYPE_MQTT,
|
||||
CONF_GATEWAY_TYPE_SERIAL,
|
||||
CONF_GATEWAY_TYPE_TCP,
|
||||
]
|
||||
|
||||
DOMAIN: Final = "mysensors"
|
||||
MYSENSORS_GATEWAY_START_TASK: str = "mysensors_gateway_start_task_{}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue