Remove energy entity again in Smappee local integration (#61373)

This commit is contained in:
bsmappee
2021-12-11 13:26:02 +01:00
committed by Franck Nijhof
parent 87b50fff54
commit e483c16d59
+1 -1
View File
@@ -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
]
)