Kaynağa Gözat

simple_switch_timerv2: make inching a string

Make this a string for consistency with other switch configs.
The only data we have for this specific switch is an empty string, but
most likely it is actually base64 based on the non-empty strings we have
for inching on other devices, so hex is probably wrong.
Jason Rumney 3 yıl önce
ebeveyn
işleme
42928449bf

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

@@ -13,7 +13,7 @@ primary_entity:
       type: boolean
     - id: 42
       name: inching
-      type: hex
+      type: string
       optional: true
 secondary_entities:
   - entity: number