소스 검색

Tefal Xplorer: make room_mode_switch optional

For compatibility with Rowenta X-Plorer S75 (rebranded model)

Discussion #2397
Jason Rumney 1 년 전
부모
커밋
d6e37878cb
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      custom_components/tuya_local/devices/tefal_xplorer_vacuum.yaml

+ 3 - 0
custom_components/tuya_local/devices/tefal_xplorer_vacuum.yaml

@@ -2,6 +2,8 @@ name: Tefal vacuum
 products:
 products:
   - id: gahugwuufkhzie7v
   - id: gahugwuufkhzie7v
     name: Tefal X-plorer Serie 75 Animal
     name: Tefal X-plorer Serie 75 Animal
+  - id: tw2o6dntmqfpwsc7
+    name: Rowenta X-Plorer S75
 primary_entity:
 primary_entity:
   entity: vacuum
   entity: vacuum
   dps:
   dps:
@@ -159,6 +161,7 @@ primary_entity:
     - id: 139
     - id: 139
       name: room_mode_switch
       name: room_mode_switch
       type: boolean
       type: boolean
+      optional: true
 secondary_entities:
 secondary_entities:
   - entity: select
   - entity: select
     name: Mode
     name: Mode