Selaa lähdekoodia

Avatto thermostat: fix indentation in yaml config

Usually such problems are picked up by the unit tests, but this one
wasn't for some reason.  It became visible only when adding new
devices (perhaps only those that were close matches, since we don't
have specific unit tests for the Avatto or closely matching Beok TOL47
where the issue was observed).

Issue #289
Jason Rumney 3 vuotta sitten
vanhempi
commit
7066e35d59

+ 10 - 10
custom_components/tuya_local/devices/avatto_wt100_thermostat.yaml

@@ -130,16 +130,16 @@ secondary_entities:
     category: config
     category: config
     icon: "mdi:home-thermometer"
     icon: "mdi:home-thermometer"
     dps:
     dps:
-      -id: 25
-      type: string
-      name: option
-      mapping:
-        - dps_val: "1"
-          value: Internal
-        - dps_val: "2"
-          value: External
-        - dps_val: "3"
-          value: Both
+      - id: 25
+        type: string
+        name: option
+        mapping:
+          - dps_val: "1"
+            value: Internal
+          - dps_val: "2"
+            value: External
+          - dps_val: "3"
+            value: Both
   - entity: switch
   - entity: switch
     name: Anti-frost
     name: Anti-frost
     category: config
     category: config

+ 1 - 1
custom_components/tuya_local/manifest.json

@@ -2,7 +2,7 @@
     "domain": "tuya_local",
     "domain": "tuya_local",
     "iot_class": "local_polling",
     "iot_class": "local_polling",
     "name": "Tuya Local",
     "name": "Tuya Local",
-    "version": "0.20.4",
+    "version": "0.20.5",
     "documentation": "https://github.com/make-all/tuya-local",
     "documentation": "https://github.com/make-all/tuya-local",
     "issue_tracker": "https://github.com/make-all/tuya-local/issues",
     "issue_tracker": "https://github.com/make-all/tuya-local/issues",
     "dependencies": [],
     "dependencies": [],