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

Kerui cameras: fix type of PTZ button dps

When PTZ was present in the data, it was preventing detection of the
device type. Probably also making the up and up-right buttons fail.

Issue #2410
Jason Rumney 1 год назад
Родитель
Сommit
2eb2d258d9

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

@@ -202,7 +202,7 @@ secondary_entities:
     category: config
     dps:
       - id: 119
-        type: boolean
+        type: string
         optional: true
         name: button
         mapping:
@@ -215,7 +215,7 @@ secondary_entities:
     category: config
     dps:
       - id: 119
-        type: boolean
+        type: string
         optional: true
         name: button
         mapping:

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

@@ -208,7 +208,7 @@ secondary_entities:
     category: config
     dps:
       - id: 119
-        type: boolean
+        type: string
         optional: true
         name: button
         mapping:
@@ -221,7 +221,7 @@ secondary_entities:
     category: config
     dps:
       - id: 119
-        type: boolean
+        type: string
         optional: true
         name: button
         mapping: