소스 검색

feat (create_warm_clear_heater): naming tweaks

- make top level name even more generic
- remove unnecessary icon

- add docs

PR #4140
Jason Rumney 6 달 전
부모
커밋
70c8e81e3a
1개의 변경된 파일8개의 추가작업 그리고 3개의 파일을 삭제
  1. 8 3
      custom_components/tuya_local/devices/create_warm_clear_heater.yaml

+ 8 - 3
custom_components/tuya_local/devices/create_warm_clear_heater.yaml

@@ -1,4 +1,4 @@
-name: Vertical Heater
+name: Heater
 products:
 products:
   - id: ggz9d3bputnvntlx
   - id: ggz9d3bputnvntlx
     manufacturer: Create
     manufacturer: Create
@@ -51,10 +51,16 @@ entities:
             value: idle
             value: idle
           - dps_val: working
           - dps_val: working
             value: heating
             value: heating
+  - entity: text
+    name: Custom program
+    icon: "mdi:calendar-clock"
+    category: config
+    hidden: true
+    dps:
       - id: 26
       - id: 26
         type: string
         type: string
         optional: true
         optional: true
-        name: custom_program
+        name: value
   - entity: select
   - entity: select
     translation_key: timer
     translation_key: timer
     category: config
     category: config
@@ -124,7 +130,6 @@ entities:
         unit: min
         unit: min
   - entity: switch
   - entity: switch
     translation_key: sleep
     translation_key: sleep
-    icon: "mdi:weather-night"
     category: config
     category: config
     dps:
     dps:
       - id: 103
       - id: 103