فهرست منبع

Revert "Fix enum class problem"

This reverts commit 19e89d8b14ee9e303263459c17f32c34673b0911.
David Jiménez 1 سال پیش
والد
کامیت
87365c87c7
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      custom_components/tuya_local/devices/petsnowy_snowplus_catlitter.yaml

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

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