1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

deCONZ - use entity registry disabled_by to control available entities (#26219)

* First draft

* Support enabling disabled entities

* Clean up

* Move import

* Local entity enabled replaced during rebase

* Add option flow test

* Mark options properties with option
This commit is contained in:
Robert Svensson
2019-09-06 01:38:00 +02:00
committed by Paulus Schoutsen
parent b1c2a5fa08
commit 518d2c31bb
19 changed files with 191 additions and 82 deletions

View File

@@ -40,7 +40,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
gateway.listeners.append(
async_dispatcher_connect(
hass, gateway.async_event_new_device(NEW_LIGHT), async_add_cover
hass, gateway.async_signal_new_device(NEW_LIGHT), async_add_cover
)
)