Explorar o código

feat(lscsmartconnect_camerapetfeeder): expose meal plan (schedule)

Expose as a text entity, for use with
https://github.com/FrederikM97/mealplan-card
Jason Rumney hai 5 meses
pai
achega
109923c955

+ 10 - 4
custom_components/tuya_local/devices/lscsmartconnect_camerapetfeeder.yaml

@@ -150,10 +150,6 @@ entities:
         type: boolean
         optional: true
         name: history_data
-      - id: 236
-        type: string
-        optional: true
-        name: schedule
   - entity: number
     name: Portion weight
     class: weight
@@ -207,3 +203,13 @@ entities:
         mapping:
           - dps_val: "0"
             value: true
+  - entity: text
+    name: Meal plan
+    category: config
+    icon: "mdi:calendar-clock"
+    hidden: true
+    dps:
+      - id: 236
+        type: hex
+        optional: true
+        name: value