Madplan dashboard view + Mealie sensorer + mad_announcement med dagens ret
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
- platform: rest
|
||||
name: mealie_madplan_ugen
|
||||
resource_template: >-
|
||||
http://10.0.0.142:9925/api/households/mealplans?start_date={{ now().strftime('%Y-%m-%d') }}&end_date={{ (now() + timedelta(days=6)).strftime('%Y-%m-%d') }}
|
||||
headers:
|
||||
Authorization: !secret mealie_bearer_token
|
||||
Content-Type: application/json
|
||||
method: GET
|
||||
scan_interval: 1800
|
||||
value_template: "{{ value_json.items | length }}"
|
||||
json_attributes_path: "$"
|
||||
json_attributes:
|
||||
- items
|
||||
|
||||
Reference in New Issue
Block a user