Просмотр исходного кода

fix (smartplug_usb): fix ayailable attribute types

copy/paste error
Jason Rumney 3 недель назад
Родитель
Сommit
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: