64 lines
1.9 KiB
YAML
64 lines
1.9 KiB
YAML
# https://github.com/mampfes/hacs_waste_collection_schedule
|
|
# https://www.youtube.com/watch?v=MzQgARDvRww
|
|
|
|
|
|
- platform: waste_collection_schedule
|
|
name: waste_gray
|
|
details_format: upcoming
|
|
count: 4
|
|
value_template: 'am {{value.date.strftime("%d.%m.%Y")}} in {{value.daysTo}} Tagen'
|
|
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
|
|
types:
|
|
- 'graue Tonne'
|
|
|
|
- platform: waste_collection_schedule
|
|
name: waste_yellow
|
|
details_format: upcoming
|
|
count: 4
|
|
value_template: 'am {{value.date.strftime("%d.%m.%Y")}} in {{value.daysTo}} Tagen'
|
|
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
|
|
types:
|
|
- 'gelbe Tonne/Sack'
|
|
|
|
- platform: waste_collection_schedule
|
|
name: waste_brown
|
|
details_format: upcoming
|
|
count: 4
|
|
value_template: 'am {{value.date.strftime("%d.%m.%Y")}} in {{value.daysTo}} Tagen'
|
|
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
|
|
types:
|
|
- 'braune Tonne'
|
|
|
|
- platform: waste_collection_schedule
|
|
name: waste_bulk
|
|
details_format: upcoming
|
|
count: 4
|
|
value_template: 'am {{value.date.strftime("%d.%m.%Y")}} in {{value.daysTo}} Tagen'
|
|
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
|
|
types:
|
|
- 'Sperrmüll'
|
|
|
|
- platform: waste_collection_schedule
|
|
name: waste_pollutants
|
|
details_format: upcoming
|
|
count: 4
|
|
value_template: 'am {{value.date.strftime("%d.%m.%Y")}} in {{value.daysTo}} Tagen'
|
|
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
|
|
types:
|
|
- 'Schadstoffe'
|
|
|
|
- platform: waste_collection_schedule
|
|
name: waste_green
|
|
details_format: upcoming
|
|
count: 4
|
|
value_template: 'am {{value.date.strftime("%d.%m.%Y")}} in {{value.daysTo}} Tagen'
|
|
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
|
|
types:
|
|
- 'grüne Tonne'
|
|
|
|
- platform: waste_collection_schedule
|
|
name: waste_all
|
|
count: 4
|
|
value_template: '{{value.types|join(", ")}}|{{value.daysTo}}|{{value.date.strftime("%d.%m.%Y")}}|{{value.date.strftime("%a")}}'
|
|
|