소스 검색

fix (smartplug_usb): fix ayailable attribute types

copy/paste error
Jason Rumney 2 달 전
부모
커밋
e7db8dbc74
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      custom_components/tuya_local/devices/smartplug_usb.yaml

+ 2 - 2
custom_components/tuya_local/devices/smartplug_usb.yaml

@@ -156,7 +156,7 @@ entities:
           - dps_val: last
             value: memory
       - id: 38
-        type: integer
+        type: string
         optional: true
         name: available
         mapping:
@@ -180,7 +180,7 @@ entities:
           - dps_val: none
             value: "off"
       - id: 39
-        type: integer
+        type: string
         optional: true
         name: available
         mapping: