Add unique IDs to automation/scenes (#31150)
* Add unique IDs to automation and scenes * Fix typo
This commit is contained in:
1 parent
8fff6462a1
commit
1f0f62de7f
14 files changed
+123
-27
No files matched your search
@@ -61,10 +61,7 @@ async def async_setup(hass, config):
|
||||
|
||||
await component.async_setup(config)
|
||||
# Ensure Home Assistant platform always loaded.
|
||||
await component.async_setup_platform(
|
||||
HA_DOMAIN, {"platform": "homeasistant", STATES: []}
|
||||
)
|
||||
|
||||
await component.async_setup_platform(HA_DOMAIN, {"platform": HA_DOMAIN, STATES: []})
|
||||
component.async_register_entity_service(SERVICE_TURN_ON, {}, "async_activate")
|
||||
|
||||
return True
|
||||
|
||||
Reference in new issue
Block a user