Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
73ada7e594

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

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