From e5006c95a4ea92de5e7d0a206df942575d0f74d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20H=C3=BCbschen?= Date: Sun, 21 Jul 2024 11:16:34 +0200 Subject: [PATCH] config flow --- custom_components/delayed_action/config_flow.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/custom_components/delayed_action/config_flow.py b/custom_components/delayed_action/config_flow.py index 083b988..284d579 100644 --- a/custom_components/delayed_action/config_flow.py +++ b/custom_components/delayed_action/config_flow.py @@ -26,14 +26,14 @@ async def async_step_user(self, user_input=None): return self.async_create_entry(title="Delayed Action", data=user_input) data_schema = vol.Schema({ - vol.Optional(CONF_DOMAINS, default=["automation", "climate", "cover", "fan", "humidifier", "light", "lock", "media_player", "script", "switch", "vacuum", "water_heater"]): cv.multi_select({ + vol.Optional(CONF_DOMAINS, default=["automation", "climate", "cover", "fan", "humidifier", "light", "lock", "media_player", "script", "switch", "vacuum", "water_heater", "select"]): cv.multi_select({ "automation": "Automation", "climate": "Climate", "cover": "Cover", "fan": "Fan", "humidifier": "Humidifier", "input_boolean": "Input Boolean", - "lawn_mower": "Land Mower", + "lawn_mower": "Lawn Mower", "light": "Light", "lock": "Lock", "media_player": "Media Player", @@ -42,6 +42,7 @@ async def async_step_user(self, user_input=None): "switch": "Switch", "vacuum": "Vacuum", "water_heater": "Water Heater", + "select": "Select", }), }) return self.async_show_form(step_id="user", data_schema=data_schema)