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

This commit is contained in:
bsmappee
2021-12-10 08:42:33 +01:00
committed by GitHub
parent df608b56a5
commit 9c28727aa0
+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
]
)