From b81209df70b994701d27db598859e067c4848824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Nenz=C3=A9n?= Date: Fri, 23 Aug 2024 20:41:53 +0200 Subject: [PATCH] Fix fan toggle error. (#133) The integration will still warn about missing feature flags, but we can live with the warning until people have updated HA to at least 2024.08 --- custom_components/wellbeing/fan.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/custom_components/wellbeing/fan.py b/custom_components/wellbeing/fan.py index 3ac7400..4a5aaa0 100644 --- a/custom_components/wellbeing/fan.py +++ b/custom_components/wellbeing/fan.py @@ -39,9 +39,6 @@ async def async_setup_entry(hass, entry, async_add_devices): class WellbeingFan(WellbeingEntity, FanEntity): """wellbeing Sensor class.""" - # Add FanEntityFeature.TURN_OFF | FanEntityFeature.TURN_ON and set to True before 2025.2 - _enable_turn_on_off_backwards_compatibility = False - def __init__(self, coordinator: WellbeingDataUpdateCoordinator, config_entry, pnc_id, entity_type, entity_attr): super().__init__(coordinator, config_entry, pnc_id, entity_type, entity_attr) self._preset_mode = self.get_appliance.mode