Get status once per device instead of per platform
This commit is contained in:
committed by
rospogrigio
parent
b7173f3033
commit
caaf884a7a
@@ -45,7 +45,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
|
||||
)
|
||||
)
|
||||
|
||||
async_add_entities(sensors, True)
|
||||
async_add_entities(sensors)
|
||||
|
||||
|
||||
class LocaltuyaBinarySensor(LocalTuyaEntity, BinarySensorEntity):
|
||||
|
Reference in New Issue
Block a user