mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 00:37:13 +00:00
Removes unwanted tradfri battery sensor (#28181)
This commit is contained in:
parent
63deec3275
commit
67cf7c26da
@ -19,6 +19,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
|
||||
if not dev.has_light_control
|
||||
and not dev.has_socket_control
|
||||
and not dev.has_blind_control
|
||||
and not dev.has_signal_repeater_control
|
||||
)
|
||||
if devices:
|
||||
async_add_entities(TradfriSensor(device, api, gateway_id) for device in devices)
|
||||
|
Loading…
x
Reference in New Issue
Block a user