From 680775c3e06512817fbf1a301eb39142a83e8f7f Mon Sep 17 00:00:00 2001 From: rappenze Date: Fri, 1 Sep 2023 10:48:08 +0200 Subject: [PATCH] Discover more power and energy sensors in fibaro integration (#98253) --- homeassistant/components/fibaro/sensor.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/fibaro/sensor.py b/homeassistant/components/fibaro/sensor.py index c41c4afe312..b98e12b889e 100644 --- a/homeassistant/components/fibaro/sensor.py +++ b/homeassistant/components/fibaro/sensor.py @@ -113,7 +113,15 @@ async def async_setup_entry( # main sensors are created even if the entity type is not known entities.append(FibaroSensor(device, entity_description)) - for platform in (Platform.COVER, Platform.LIGHT, Platform.SENSOR, Platform.SWITCH): + for platform in ( + Platform.BINARY_SENSOR, + Platform.CLIMATE, + Platform.COVER, + Platform.LIGHT, + Platform.LOCK, + Platform.SENSOR, + Platform.SWITCH, + ): for device in hass.data[DOMAIN][entry.entry_id][FIBARO_DEVICES][platform]: for entity_description in ADDITIONAL_SENSOR_TYPES: if entity_description.key in device.properties: