4
0
Эх сурвалжийг харах

Amantii R12AP1 fireplace: naming change

Remove the name from On/Off switch (this is implied by the fact it is a switch)

PR #3031
Jason Rumney 11 сар өмнө
parent
commit
bd2144cc94

+ 2 - 1
custom_components/tuya_local/devices/amantii-r12ap1-fireplace.yaml

@@ -6,7 +6,6 @@ products:
     model_id: R1-2-AP1
     model_id: R1-2-AP1
 entities:
 entities:
   - entity: switch
   - entity: switch
-    name: On/Off
     icon: "mdi:power"
     icon: "mdi:power"
     category: config
     category: config
     dps:
     dps:
@@ -24,8 +23,10 @@ entities:
             value: "off"
             value: "off"
           - dps_val: H1
           - dps_val: H1
             value: heat
             value: heat
+            hidden: true
           - dps_val: H2
           - dps_val: H2
             value: heat
             value: heat
+            hidden: true
           - dps_val: Auto
           - dps_val: Auto
             value: heat
             value: heat
       - id: 108
       - id: 108