Parcourir la source

Tweaked ID2 and ID9 for both auto/manual

thewolf-oz il y a 2 ans
Parent
commit
582da31bbf

+ 7 - 9
custom_components/tuya_local/devices/arlec_thermostat_smartplug.yaml

@@ -5,10 +5,6 @@ product:
 primary_entity:
   entity: climate
   dps:
-    - id: 2
-      type: boolean
-      name: switch
-      icon: mdi:light-switch
     - id: 9
       type: boolean
       name: hvac_mode
@@ -102,6 +98,13 @@ primary_entity:
       type: bitfield
       name: fault_code
 secondary_entities:
+  - entity: switch
+    name: Manual Switch
+    dps:
+      - id: 2
+        type: boolean
+        name: switch
+        icon: mdi:light-switch
   - entity: number
     name: Timer
     category: config
@@ -129,11 +132,6 @@ secondary_entities:
             icon: "mdi:thermostat-auto"
           - dps_val: false
             icon: "mdi:toggle-switch"
-  - entity: switch
-    dps:
-      - id: 2
-        type: boolean
-        name: switch
   - entity: sensor
     name: Current
     class: current