Sfoglia il codice sorgente

cleanup (devices): cleanup some yamllint warnings

These do not alert the same way as errors, you only see them in the
github interface when there are errors generated alongside, and only
if you look at the full scan result, since the files are usually
not part of the changeset.

- bobyun_gatepro_opener: "No" needs quotes to avoid being detected as boolean
- setti_czajnik_kettle: some comments were indented at a level yamllint didn't like
Jason Rumney 1 settimana fa
parent
commit
97b84a8495

+ 1 - 1
custom_components/tuya_local/devices/bobyun_gatepro_opener.yaml

@@ -84,7 +84,7 @@ entities:
         name: event
         name: event
         optional: true
         optional: true
         mapping:
         mapping:
-          - dps_val: No
+          - dps_val: "No"
             value: null
             value: null
           - dps_val: openLongTime
           - dps_val: openLongTime
             value: Left open
             value: Left open

+ 3 - 3
custom_components/tuya_local/devices/setti_czajnik_kettle.yaml

@@ -4,9 +4,9 @@ products:
     manufacturer: Setti+
     manufacturer: Setti+
     model: KT950W
     model: KT950W
     name: Czajnik
     name: Czajnik
-  # - id: UNKNOWN
-  #   manufacturer: Kogan
-  #   model: KASMTSSKTLB
+# - id: UNKNOWN
+#   manufacturer: Kogan
+#   model: KASMTSSKTLB
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
     translation_key: kettle
     translation_key: kettle