mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 13:30:43 +00:00
deCONZ improve options updating entities (#42320)
This commit is contained in:
@@ -39,7 +39,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
|
||||
gateway.entities[DOMAIN] = set()
|
||||
|
||||
@callback
|
||||
def async_add_sensor(sensors):
|
||||
def async_add_sensor(sensors=gateway.api.sensors.values()):
|
||||
"""Add binary sensor from deCONZ."""
|
||||
entities = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user