Просмотр исходного кода

Abstract out oscillate_vertically into its own switch entity

Liau Jian Jie 8 месяцев назад
Родитель
Сommit
e248d658f1

+ 6 - 4
custom_components/tuya_local/devices/point_one_storm_vspec_iv_dual_axis_corner_fan.yaml

@@ -44,18 +44,20 @@ entities:
         range:
           min: 1
           max: 6
-      - id: 104
-        type: boolean
-        name: oscillate_vertically
       - id: 105
         type: boolean
-        name: oscillate_horizontally
+        name: oscillate
       - id: 107
         type: boolean
         name: fan_sound
       - id: 112
         type: boolean
         name: rotate_360_degrees
+  - entity: switch
+    translation_key: oscillate_vertically
+      - id: 104
+        type: boolean
+        name: switch
   - entity: select
     translation_key: timer
     category: config