add waste collection
This commit is contained in:
parent
cce14f4016
commit
a4dc9f695e
|
|
@ -1,9 +1,8 @@
|
||||||
homeassistant:
|
homeassistant:
|
||||||
# Load packages
|
# Load packages
|
||||||
packages: !include_dir_named integrations
|
packages: !include_dir_named integrations
|
||||||
|
media_dirs:
|
||||||
|
media: /media
|
||||||
|
|
||||||
|
|
||||||
# Configure a default setup of Home Assistant (frontend, api, etc)
|
# Configure a default setup of Home Assistant (frontend, api, etc)
|
||||||
default_config:
|
default_config:
|
||||||
|
|
@ -17,15 +16,52 @@ tts:
|
||||||
#script: !include scripts.yaml
|
#script: !include scripts.yaml
|
||||||
# scene: !include scenes.yaml
|
# scene: !include scenes.yaml
|
||||||
|
|
||||||
# switch:
|
waste_collection_schedule:
|
||||||
# - platform: mqtt
|
sources:
|
||||||
# name: “sonoff-1"
|
- name: ics
|
||||||
# command_topic: "cmnd/sonoff-1/POWER"
|
args:
|
||||||
# state_topic: "tele/sonoff-1/STATE"
|
url: https://drolshagen.abfuhrtermine.info/dates/exportDates/44/Ics
|
||||||
# availability_topic: "tele/sonoff-1/LWT"
|
# file: FILE
|
||||||
# qos: 1
|
offset: 0
|
||||||
# payload_on: "ON"
|
method: GET
|
||||||
# payload_off: "OFF"
|
params: {}
|
||||||
# payload_available: "Online"
|
# year_field: YEAR_FIELD
|
||||||
# payload_not_available: "Offline"
|
# split_at: ":"
|
||||||
# retain: false
|
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
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,17 @@
|
||||||
|
# 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: ":"
|
||||||
|
|
||||||
|
|
||||||
|
# sensor:
|
||||||
|
# # next collection
|
||||||
|
# - platform: waste_collection_schedule
|
||||||
|
# name: next_collection
|
||||||
Loading…
Reference in New Issue