new files
This commit is contained in:
@@ -0,0 +1,138 @@
|
||||
- platform: rest
|
||||
resource: !secret mealie_api_URL_mealplan
|
||||
name: mealie_mealplan_day0
|
||||
scan_interval: 900
|
||||
headers:
|
||||
Authorization: ClausMealieHA !secret mealie_api_token
|
||||
params:
|
||||
start: >
|
||||
{{ now().strftime('%Y-%m-%d') }}
|
||||
limit: >
|
||||
{{ now().strftime('%Y-%m-%d') }}
|
||||
json_attributes_path: "$.[0].recipe"
|
||||
json_attributes:
|
||||
- id
|
||||
- name
|
||||
- slug
|
||||
- image
|
||||
value_template: "{{ value_json.date }}"
|
||||
|
||||
# Tomorrow
|
||||
- platform: rest
|
||||
resource: !secret mealie_api_URL_mealplan
|
||||
name: mealie_mealplan_day1
|
||||
scan_interval: 900
|
||||
headers:
|
||||
Authorization: ClausMealieHA !secret mealie_api_token
|
||||
params:
|
||||
start: >
|
||||
{{ (now() + timedelta(days = 1)).strftime('%Y-%m-%d') }}
|
||||
limit: >
|
||||
{{ (now() + timedelta(days = 1)).strftime('%Y-%m-%d') }}
|
||||
json_attributes_path: "$.[0].recipe"
|
||||
json_attributes:
|
||||
- id
|
||||
- name
|
||||
- slug
|
||||
- image
|
||||
value_template: "{{ value_json.date }}"
|
||||
|
||||
# Day 2
|
||||
- platform: rest
|
||||
resource: !secret mealie_api_URL_mealplan
|
||||
name: mealie_mealplan_day2
|
||||
scan_interval: 900
|
||||
headers:
|
||||
Authorization: ClausMealieHA !secret mealie_api_token
|
||||
params:
|
||||
start: >
|
||||
{{ (now() + timedelta(days = 2)).strftime('%Y-%m-%d') }}
|
||||
limit: >
|
||||
{{ (now() + timedelta(days = 2)).strftime('%Y-%m-%d') }}
|
||||
json_attributes_path: "$.[0].recipe"
|
||||
json_attributes:
|
||||
- id
|
||||
- name
|
||||
- slug
|
||||
- image
|
||||
value_template: "{{ value_json.date }}"
|
||||
|
||||
# Day 3
|
||||
- platform: rest
|
||||
resource: !secret mealie_api_URL_mealplan
|
||||
name: mealie_mealplan_day3
|
||||
scan_interval: 900
|
||||
headers:
|
||||
Authorization: ClausMealieHA !secret mealie_api_token
|
||||
params:
|
||||
start: >
|
||||
{{ (now() + timedelta(days = 3)).strftime('%Y-%m-%d') }}
|
||||
limit: >
|
||||
{{ (now() + timedelta(days = 3)).strftime('%Y-%m-%d') }}
|
||||
json_attributes_path: "$.[0].recipe"
|
||||
json_attributes:
|
||||
- id
|
||||
- name
|
||||
- slug
|
||||
- image
|
||||
value_template: "{{ value_json.date }}"
|
||||
|
||||
# Day 4
|
||||
- platform: rest
|
||||
resource: !secret mealie_api_URL_mealplan
|
||||
name: mealie_mealplan_day4
|
||||
scan_interval: 900
|
||||
headers:
|
||||
Authorization: ClausMealieHA !secret mealie_api_token
|
||||
params:
|
||||
start: >
|
||||
{{ (now() + timedelta(days = 4)).strftime('%Y-%m-%d') }}
|
||||
limit: >
|
||||
{{ (now() + timedelta(days = 4)).strftime('%Y-%m-%d') }}
|
||||
json_attributes_path: "$.[0].recipe"
|
||||
json_attributes:
|
||||
- id
|
||||
- name
|
||||
- slug
|
||||
- image
|
||||
value_template: "{{ value_json.date }}"
|
||||
|
||||
# Day 5
|
||||
- platform: rest
|
||||
resource: !secret mealie_api_URL_mealplan
|
||||
name: mealie_mealplan_day5
|
||||
scan_interval: 900
|
||||
headers:
|
||||
Authorization: ClausMealieHA !secret mealie_api_token
|
||||
params:
|
||||
start: >
|
||||
{{ (now() + timedelta(days = 5)).strftime('%Y-%m-%d') }}
|
||||
limit: >
|
||||
{{ (now() + timedelta(days = 5)).strftime('%Y-%m-%d') }}
|
||||
json_attributes_path: "$.[0].recipe"
|
||||
json_attributes:
|
||||
- id
|
||||
- name
|
||||
- slug
|
||||
- image
|
||||
value_template: "{{ value_json.date }}"
|
||||
|
||||
# Day 6
|
||||
- platform: rest
|
||||
resource: !secret mealie_api_URL_mealplan
|
||||
name: mealie_mealplan_day6
|
||||
scan_interval: 900
|
||||
headers:
|
||||
Authorization: ClausMealieHA !secret mealie_api_token
|
||||
params:
|
||||
start: >
|
||||
{{ (now() + timedelta(days = 6)).strftime('%Y-%m-%d') }}
|
||||
limit: >
|
||||
{{ (now() + timedelta(days = 6)).strftime('%Y-%m-%d') }}
|
||||
json_attributes_path: "$.[0].recipe"
|
||||
json_attributes:
|
||||
- id
|
||||
- name
|
||||
- slug
|
||||
- image
|
||||
value_template: "{{ value_json.date }}"
|
||||
@@ -0,0 +1,32 @@
|
||||
- name: Arbejde (NN AA)
|
||||
latitude: !secret NNAA_latitude
|
||||
longitude: !secret NNAA_longitude
|
||||
radius: 200
|
||||
icon: mdi:briefcase
|
||||
|
||||
- name: Arbejde (NN Søborg)
|
||||
latitude: !secret NNSOE_latitude
|
||||
longitude: !secret NNSOE_longitude
|
||||
radius: 200
|
||||
icon: mdi:briefcase
|
||||
|
||||
- name: Skole
|
||||
latitude: !secret school_latitude
|
||||
longitude: !secret school_longitude
|
||||
radius: 200
|
||||
icon: mdi:school
|
||||
|
||||
- name: Dybbroparken
|
||||
latitude: 56.99974411102962
|
||||
longitude: 9.99562740325928
|
||||
radius: 200
|
||||
|
||||
- name: "Østre Alle"
|
||||
latitude: 57.03918369976283
|
||||
longitude: 9.942841706262355
|
||||
radius: 200
|
||||
|
||||
- name: "Sofiendal"
|
||||
latitude: 57.01784254852895
|
||||
longitude: 9.893469485121324
|
||||
radius: 200
|
||||
Reference in New Issue
Block a user