Skip to content

Commit

Permalink
Disable turn_on_off backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Aug 14, 2024
1 parent 0e32a02 commit b8a1c7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/xiaomi_miio_airpurifier/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -1245,6 +1245,8 @@ async def async_service_handler(service):
class XiaomiGenericDevice(FanEntity):
"""Representation of a generic Xiaomi device."""

_enable_turn_on_off_backwards_compatibility = False

def __init__(self, name, device, model, unique_id, retries=0):
"""Initialize the generic Xiaomi device."""
self._name = name
Expand Down

0 comments on commit b8a1c7f

Please sign in to comment.