mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 10:59:40 +00:00
Streamline setup of deCONZ binary sensor platform (#71820)
This commit is contained in:
@@ -81,7 +81,7 @@ async def async_setup_entry(
|
||||
|
||||
config_entry.async_on_unload(
|
||||
gateway.api.sensors.ancillary_control.subscribe(
|
||||
async_add_sensor,
|
||||
gateway.evaluate_add_device(async_add_sensor),
|
||||
EventType.ADDED,
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user