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

Revert "Fix enum class problem"

This reverts commit 19e89d8b14ee9e303263459c17f32c34673b0911.
David Jiménez 1 год назад
Родитель
Сommit
87365c87c7

+ 2 - 0
custom_components/tuya_local/devices/petsnowy_snowplus_catlitter.yaml

@@ -76,6 +76,7 @@ entities:
         name: button
   - entity: sensor
     name: Notifications
+    class: enum
     category: diagnostic
     icon: "mdi:eye-circle-outline"
     dps:
@@ -156,6 +157,7 @@ entities:
           - value: Unknown
   - entity: sensor
     name: Status
+    class: enum
     category: diagnostic
     dps:
       - id: 24