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

RSE TYWFH301 Gate: make raw return_state available

Add raw return_state as an attribute of the Gate sensor, as the two
binary sensors do not cover the full range of values.

Issue #2462
Jason Rumney 1 год назад
Родитель
Сommit
fe4e618364
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      custom_components/tuya_local/devices/rse_tywfh301_gate.yaml

+ 3 - 0
custom_components/tuya_local/devices/rse_tywfh301_gate.yaml

@@ -77,6 +77,9 @@ secondary_entities:
           - dps_val: 12
             value: true
           - value: false
+      - id: 105
+        type: integer
+        name: return_state
       - id: 111
         type: boolean
         name: hidden_state