Add switch component (untested)

This commit is contained in:
2022-10-15 23:12:58 +02:00
parent 926e652f67
commit 53d1f1f9ae
2 changed files with 82 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ async def async_setup_entry(hass, config_entry):
}
)
await hass.config_entries.async_forward_entry_setups(config_entry, ["light"])
await hass.config_entries.async_forward_entry_setups(config_entry, ["light", "switch"])
async def _ping(now=None):
if hass.data[DOMAIN]["stopping"]: return