Browse Source

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 years ago
parent
commit
7066e35d59

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

@@ -130,16 +130,16 @@ secondary_entities:
     category: config
     icon: "mdi:home-thermometer"
     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
     name: Anti-frost
     category: config

+ 1 - 1
custom_components/tuya_local/manifest.json

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