Explorar o código

maint(fan): remove obsolete deprecation avoidance

During HA deprecation period we had to explicitly opt-out of the backward
compatibility option to avoid a deprecation warning. Now the deprecation
period has been finished (probably for over a year), it is no longer needed.
Jason Rumney hai 1 día
pai
achega
8d3452713a
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      custom_components/tuya_local/fan.py

+ 0 - 3
custom_components/tuya_local/fan.py

@@ -65,9 +65,6 @@ class TuyaLocalFan(TuyaLocalEntity, FanEntity):
             if r and r[0] == 0:
                 self._support_flags |= FanEntityFeature.TURN_OFF
 
-        # Until the deprecation period ends (expected 2025.2)
-        self._enable_turn_on_off_backwards_compatibility = False
-
     @property
     def supported_features(self):
         """Return the features supported by this climate device."""