mirror of
https://github.com/home-assistant/core.git
synced 2026-09-10 02:35:27 -05:00
Remove energy entity again in Smappee local integration (#61373)
This commit is contained in:
@@ -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
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user