Browse Source

Update touchstone_sidelineredblue_fireplace.yaml (#5150)

* Update touchstone_sidelineredblue_fireplace.yaml

* Update touchstone_sidelineredblue_fireplace.yaml

Addressed comments.

After investigating the ember colors further, they do mostly line up with the names given in the other fire place for 1-10, but 11 and 12 appear to be the same as 10, so marking them hidden, we can keep the naming convention of cycle and mystery if you want but the colors didn't cycle on this fireplace

* Update touchstone_sidelineredblue_fireplace.yaml

Reverting most of my changes, simpler set of changes made -- addressed comments, lock is now hidden, switch still controls fire place (lights can be on without touching hvac)

* Update touchstone_sidelineredblue_fireplace.yaml

HVAC hidden fixes for your comment

* Update touchstone_sidelineredblue_fireplace.yaml

Fixed child lock entity now everything works perfectly
Sean McGuire 13 hours ago
parent
commit
153a4fe41a

+ 29 - 31
custom_components/tuya_local/devices/touchstone_sidelineredblue_fireplace.yaml

@@ -1,21 +1,19 @@
 name: Electric fireplace
+products:
+  - id: pkgk72uonlqlzcil
+    manufacturer: Touchstone
+    model: Sideline (red/blue flame variant)
 entities:
-  - entity: climate
-    translation_key: heater
+  - entity: switch
+    icon: "mdi:fireplace"
     dps:
       - id: 1
         type: boolean
-        name: hvac_mode
-        mapping:
-          - dps_val: false
-            value: "off"
-          - dps_val: true
-            constraint: heat_disable
-            conditions:
-              - dps_val: false
-                value: heat
-              - dps_val: true
-                value: fan_only
+        name: switch
+
+  - entity: climate
+    translation_key: heater
+    dps:
       - id: 2
         name: temperature
         optional: true
@@ -39,6 +37,20 @@ entities:
             conditions:
               - dps_val: f
                 value_redirect: temp_current_f
+      - id: 5
+        type: string
+        name: hvac_mode
+        mapping:
+          - dps_val: "0"
+            value: "off"
+          - dps_val: "1"
+            value: heat
+            hidden: true
+          - dps_val: "2"
+            value: heat
+            hidden: true
+          - dps_val: "3"
+            value: heat
       - id: 5
         name: preset_mode
         type: string
@@ -72,10 +84,6 @@ entities:
         type: integer
         optional: true
         hidden: true
-      - id: 107
-        type: boolean
-        name: heat_disable
-        hidden: true
   - entity: select
     translation_key: temperature_unit
     category: config
@@ -186,20 +194,10 @@ entities:
           - dps_val: "10"
             value: peachpuff
           - dps_val: "11"
-            value: black
-          - dps_val: "12"
-            value: grey
-      - id: 104
-        name: effect
-        type: string
-        mapping:
+            value: peachpuff
+            hidden: true
           - dps_val: "12"
-            value: Mystery
-          - dps_val: "11"
-            value: Cycle
-          - dps_val: "1"
-            value: "off"
-          - value: "off"
+            value: peachpuff
             hidden: true
   - entity: select
     translation_key: timer
@@ -236,6 +234,6 @@ entities:
     translation_key: child_lock
     category: config
     dps:
-      - id: 108
+      - id: 107
         type: boolean
         name: lock