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

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 месяцев назад
Родитель
Сommit
bd2144cc94

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

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