67 lines
1.6 KiB
YAML
67 lines
1.6 KiB
YAML
homeassistant:
|
|
# Load packages
|
|
packages: !include_dir_named integrations
|
|
media_dirs:
|
|
media: /media
|
|
|
|
# Configure a default setup of Home Assistant (frontend, api, etc)
|
|
default_config:
|
|
|
|
# Text to speech
|
|
tts:
|
|
- platform: google_translate
|
|
|
|
#group: !include groups.yaml
|
|
#automation: !include automations.yaml
|
|
#script: !include scripts.yaml
|
|
# scene: !include scenes.yaml
|
|
|
|
waste_collection_schedule:
|
|
sources:
|
|
- name: ics
|
|
args:
|
|
url: https://drolshagen.abfuhrtermine.info/dates/exportDates/44/Ics
|
|
# file: FILE
|
|
offset: 0
|
|
method: GET
|
|
params: {}
|
|
# year_field: YEAR_FIELD
|
|
# split_at: ":"
|
|
customize:
|
|
- type: ics
|
|
|
|
# sensor:
|
|
# # next collection
|
|
# - platform: waste_collection_schedule
|
|
# name: next_collection
|
|
|
|
sensor:
|
|
- platform: waste_collection_schedule
|
|
name: restlichen_tonnen
|
|
details_format: upcoming
|
|
count: 4
|
|
value_template: '{{value.types|join(" + ")}} in {{value.daysTo}} Tag(en)'
|
|
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
|
|
types:
|
|
- 'Restlichen Tonnen'
|
|
|
|
- platform: waste_collection_schedule
|
|
name: papier_tonne
|
|
details_format: upcoming
|
|
count: 4
|
|
value_template: '{{value.types|join(" + ")}} in {{value.daysTo}} Tag(en)'
|
|
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
|
|
types:
|
|
- 'Papiertonne'
|
|
|
|
- platform: waste_collection_schedule
|
|
name: tonnenbutton
|
|
count: 4
|
|
value_template: '{{value.types|join(", ")}}|{{value.daysTo}}|{{value.date.strftime("%d.%m.%Y")}}|{{value.date.strftime("%a")}}'
|
|
|
|
|
|
|
|
logger:
|
|
default: info
|
|
logs:
|
|
waste_collection_schedule: debug |