瀏覽代碼

Update smart_water_heater.yaml

Adrià Cereto Massagué 3 年之前
父節點
當前提交
1a719faccf
共有 1 個文件被更改,包括 1 次插入5 次删除
  1. 1 5
      custom_components/tuya_local/devices/smart_water_heater.yaml

+ 1 - 5
custom_components/tuya_local/devices/smart_water_heater.yaml

@@ -88,16 +88,12 @@ primary_entity:
 secondary_entities:
   - entity: lock
     name: Child lock
+    icon: "mdi:hand-back-right"
     category: config
     dps:
       - id: 6
         type: boolean
         name: lock
-        mapping:
-          - dps_val: True
-            icon: "mdi:hand-back-right-off"
-          - dps_val: False
-            icon: "mdi:hand-back-right"
       - entity: number
     name: Holiday days
     category: config