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

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 година
родитељ
комит
42928449bf
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      custom_components/tuya_local/devices/simple_switch_timerv2.yaml

+ 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