Explorar o código

Moes RGB socket: make timer optional.

Issue #676 has the same device, but does not match because there is no timer
dp in the data.  Making the timer optional lets it match.
Jason Rumney %!s(int64=3) %!d(string=hai) anos
pai
achega
5f6d802312
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      custom_components/tuya_local/devices/moes_rgb_socket.yaml

+ 1 - 0
custom_components/tuya_local/devices/moes_rgb_socket.yaml

@@ -82,6 +82,7 @@ secondary_entities:
       - id: 102
         type: integer
         name: value
+        optional: true
         unit: min
         range:
           min: 0