Skip to content

Commit

Permalink
Fix fan toggle error. (#133)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
JohNan authored Aug 23, 2024
1 parent ee066e3 commit b81209d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions custom_components/wellbeing/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b81209d

Please sign in to comment.