소스 검색

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 2 달 전
부모
커밋
8d3452713a
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  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."""