Streamline setup of deCONZ binary sensor platform (#71820)
This commit is contained in:
parent
03e98a9a32
commit
007c6d2236
13 changed files with 89 additions and 54 deletions
|
@ -45,7 +45,7 @@ async def async_setup_entry(
|
|||
|
||||
config_entry.async_on_unload(
|
||||
gateway.api.lights.covers.subscribe(
|
||||
async_add_cover,
|
||||
gateway.evaluate_add_device(async_add_cover),
|
||||
EventType.ADDED,
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue