Procházet zdrojové kódy

Update euroster4040.yaml

Lint errors repair
arni077 před 9 měsíci
rodič
revize
b5709e7aca

+ 20 - 16
custom_components/tuya_local/devices/euroster4040.yaml

@@ -1,27 +1,27 @@
 name: Euroster 4040
 products:
-  - id: f8oamfazwp5wo8go
+  - id: f8oamfazwp5wo8go1
     name: Euroster 4040
-#room thermostat controlling the pump relay
+# room thermostat controlling the pump relay
 entities:
   - entity: switch
     icon: "mdi:switch"
     dps:
-    - id: 1
-      type: boolean
-      name: switch
+      - id: 1
+        type: boolean
+        name: switch
   - entity: select
-    translation_key: temperature_unit
+    name: Temperature Unit
     category: config
     dps:
       - id: 23
         type: string
         name: option
         mapping:
-          - dps_val: c
-            value: C
-          - dps_val: f
-            value: F
+          - dps_val: "c"
+            value: "C"
+          - dps_val: "f"
+            value: "F"
   - entity: sensor
     name: Set Temperature
     category: diagnostic
@@ -33,7 +33,7 @@ entities:
         mask: "0000000000000000FF000000000000000000"
         mapping:
           - scale: 1
-#HEX Value      2d 02 00 00 00 00 00 02 18 01 14 06 80 00 80 00 08 02
+  # HEX Value      2d 02 00 00 00 00 00 02 18 01 14 06 80 00 80 00 08 02
   - entity: sensor
     name: Set Temperature Decimal
     category: diagnostic
@@ -45,7 +45,7 @@ entities:
         mask: "000000000000000000FF0000000000000000"
         mapping:
           - scale: 10
-#Set_temperature= "Set Temperature"+"Set Temperature Decimal"
+  # Set_temperature= "Set Temperature"+"Set Temperature Decimal"
   - entity: sensor
     name: Current Temperature
     category: diagnostic
@@ -69,7 +69,7 @@ entities:
         mask: "0000000000000000000000FF000000000000"
         mapping:
           - scale: 10
-#Current Temperature= "Current Temperature"+"Current Temperature Decimal"
+  # Current Temperature= "Current Temperature"+"Current Temperature Decimal"
   - entity: sensor
     name: Status
     category: diagnostic
@@ -81,9 +81,11 @@ entities:
         mask: "FF0000000000000000000000000000000000"
         mapping:
           - scale: 1
-#State of module/pump: not working(40) / working(45) /temperature too high(57)/ not working yet(41)
+  # State of module/pump:
+  # not working(40) / working(45) /temperature too high(57)/ not working yet(41)
 
-  - entity: button #requesting refresh of sensors (dp103)
+  - entity: button
+    # requesting refresh of sensors (dp103)
     name: GET INFO
     class: restart
     category: config
@@ -92,7 +94,9 @@ entities:
         type: boolean
         name: button
         optional: true
-  - entity: button #requesting refresh of schedule (dp 104 - HEX Value(01 55 55 55 5a aa aa aa aa aa aa aa 55 17 09 18 01 00 00))
+  - entity: button
+    # requesting refresh of schedule
+    # (dp 104 - HEX Value(015555555aaaaaaaaaaaaaaa55170918010000))
     name: GET PROGRAM
     class: restart
     category: config