Просмотр исходного кода

MT15/MT29 AirBox: naming convention, comment non-product id

PR #3054
Jason Rumney 11 месяцев назад
Родитель
Сommit
0ec12fa77c
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      custom_components/tuya_local/devices/mt15_mt29_airbox.yaml

+ 5 - 5
custom_components/tuya_local/devices/mt15_mt29_box.yaml → custom_components/tuya_local/devices/mt15_mt29_airbox.yaml

@@ -1,7 +1,7 @@
 name: AirBox
-products:
-  - id: bf2cd2e61dc121e657jsbj
-    model: MT15/MT29
+# products:
+#   - id: bf2cd2e61dc121e657jsbj
+#     model: MT15/MT29
 entities:
   - entity: sensor
     translation_key: air_quality
@@ -42,7 +42,7 @@ entities:
         unit: ppm
         class: measurement
   - entity: sensor
-    name: HCHO
+    name: Formaldehyde
     class: volatile_organic_compounds
     dps:
       - id: 5
@@ -94,7 +94,7 @@ entities:
         name: sensor
   - entity: switch
     icon: "mdi:sprout"
-    name: Enable Alarm
+    name: Enable alarm
     dps:
       - id: 106
         type: boolean