Преглед изворни кода

Wistar curtain: avoid use of state as an attribute name.

This is an undocumented value from the Tuya API.  Do not allow it to get
confused with the Home Assistant state.

Issue #320
Jason Rumney пре 3 година
родитељ
комит
73ada7e594
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      custom_components/tuya_local/devices/wistar_roller_blind.yaml

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

@@ -42,7 +42,7 @@ primary_entity:
       name: curtain_hand
       name: curtain_hand
     - id: 106
     - id: 106
       type: string
       type: string
-      name: state
+      name: curtain_state
       mapping:
       mapping:
         - dps_val: "0"
         - dps_val: "0"
           value: status_0
           value: status_0