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

pull/61420/head
bsmappee 2021-12-10 08:42:33 +01:00 committed by GitHub
parent df608b56a5
commit 9c28727aa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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
]
)