소스 검색

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