Remove energy entity again in Smappee local integration (#61373)
parent
df608b56a5
commit
9c28727aa0
|
@ -320,7 +320,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
|
|||
),
|
||||
)
|
||||
for actuator_id, actuator in service_location.actuators.items()
|
||||
if actuator.type == "SWITCH"
|
||||
if actuator.type == "SWITCH" and not service_location.local_polling
|
||||
]
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue