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

Fix binary_sensor device class for Parkside PPWD 30 A1 vacuum (#4924)

Change Sync binary_sensor class from 'connection' to 'connectivity',
which is the correct HA BinarySensorDeviceClass value. 'connection'
is not a valid class and causes a repeated warning on every sync poll:
'Unrecognised binary_sensor device class of connection ignored'
TS-hub 2 месяцев назад
Родитель
Сommit
a8be0f8be0

+ 1 - 1
custom_components/tuya_local/devices/parkside_ppwd30a1_vacuum.yaml

@@ -65,7 +65,7 @@ entities:
             value: Crevice tool
   - entity: binary_sensor
     name: Sync
-    class: connection
+    class: connectivity
     category: diagnostic
     dps:
       - id: 101