Bläddra i källkod

Tefal Xplorer: rename file with standard .yaml extension

- make command and log_message optional.

Issue #2017
Jason Rumney 1 år sedan
förälder
incheckning
9ab5670574
1 ändrade filer med 5 tillägg och 0 borttagningar
  1. 5 0
      custom_components/tuya_local/devices/tefal_xplorer_vacuum.yaml

+ 5 - 0
custom_components/tuya_local/devices/tefal_xplorer_vacuum.yml → custom_components/tuya_local/devices/tefal_xplorer_vacuum.yaml

@@ -15,6 +15,7 @@ primary_entity:
     - id: 104
       name: command
       type: string
+      optional: true
       mapping:
         - constraint: pause
           conditions:
@@ -34,6 +35,9 @@ primary_entity:
                   value: curpointing
                 - dps_val: selectroom
                   value: selectroom
+                - dps_val: null
+                  value: pause
+                  hidden: true
     - id: 105
       name: status
       type: string
@@ -135,6 +139,7 @@ primary_entity:
       type: string
     - id: 128
       name: message_report
+      optional: true
       type: string
     - id: 130
       name: sn