Skip to content

Commit

Permalink
config flow
Browse files Browse the repository at this point in the history
  • Loading branch information
bhuebschen committed Jul 21, 2024
1 parent 3fc2da0 commit e5006c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions custom_components/delayed_action/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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)
Expand Down

0 comments on commit e5006c9

Please sign in to comment.