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

fix(vine_tj550_thermostat): make per hour sensors optional

These do not seem to be reported on first connect by all devices.

Issue #4064
Jason Rumney 23 часов назад
Родитель
Сommit
1a621687b4
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      custom_components/tuya_local/devices/vine_tj550_thermostat.yaml

+ 2 - 0
custom_components/tuya_local/devices/vine_tj550_thermostat.yaml

@@ -538,6 +538,7 @@ entities:
     dps:
       - id: 110
         type: integer
+        optional: true
         name: sensor
         unit: min
         class: measurement
@@ -548,6 +549,7 @@ entities:
     dps:
       - id: 111
         type: integer
+        optional: true
         name: sensor
         unit: min
         class: measurement