mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
call platform.init()
This commit is contained in:
parent
b6309e89d3
commit
5c760b5f4a
1 changed files with 1 additions and 0 deletions
|
|
@ -149,6 +149,7 @@ async def setup_lights(hass):
|
|||
await light.async_update_ha_state()
|
||||
|
||||
platform.ENTITIES.extend(lights)
|
||||
platform.init()
|
||||
assert await async_setup_component(
|
||||
hass, LIGHT_DOMAIN, {LIGHT_DOMAIN: {CONF_PLATFORM: "test"}}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue