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

Eurom Alutherm: make schedule dps optional

Original config was not checked back against the log message provided,
these dps are not usually sent by the device.
Jason Rumney 2 лет назад
Родитель
Сommit
3e44f1f3bf
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      custom_components/tuya_local/devices/eurom_alutherm_heater.yaml

+ 5 - 1
custom_components/tuya_local/devices/eurom_alutherm_heater.yaml

@@ -1,7 +1,9 @@
 name: Heater
 products:
   - id: 20qAGCEd0AxowwTA
-    name: Eurom Alutherm heater
+    name: Eurom Alutherm
+  - id: awnds45afwineiul
+    name: Eurom Alutherm 2500 LPL-15
 primary_entity:
   entity: climate
   dps:
@@ -77,6 +79,7 @@ secondary_entities:
       - id: 104
         type: string
         name: option
+        optional: true
         mapping:
           - dps_val: holiday
             value: Holiday
@@ -85,3 +88,4 @@ secondary_entities:
       - id: 103
         type: string
         name: schedule_data
+        optional: true