From 9c28727aa04553fbc6723bb9fafc3663dd2366dd Mon Sep 17 00:00:00 2001 From: bsmappee <58250533+bsmappee@users.noreply.github.com> Date: Fri, 10 Dec 2021 08:42:33 +0100 Subject: [PATCH] Remove energy entity again in Smappee local integration (#61373) --- homeassistant/components/smappee/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/smappee/sensor.py b/homeassistant/components/smappee/sensor.py index ccae097e53f..595cc4da02d 100644 --- a/homeassistant/components/smappee/sensor.py +++ b/homeassistant/components/smappee/sensor.py @@ -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 ] )