Please migrate to: https://github.com/mampfes/hacs_waste_collection_schedule
Search for awb in hacs integrations, install and restart home assistant
Copy all files from custom_components/awb/ to custom_components/awb/ inside your config Home Assistant directory.
https://community.home-assistant.io/t/awb-waste-collection-schedule/140486
The sensor shows the bin which will be collected the next day. The complete collection schedule is available as attributes of the sensor.
Optionally, the collection of the current day can be selected by setting day: today
https://www.offenedaten-koeln.de/dataset/strassenverzeichnis
Strassenverzeichnis Standard 2015 -> Vorschau
Domkloster 4, 50667 Köln:
street_code: 745
street_number: 4
- platform: awb
name: awb
scan_interval: 3600
street_code: 745
street_number: 4
day: tomorrow
sensor.awb:
friendly_name: Heute Mülltonne rausstellen
icon: mdi:delete
- alias: AWB Notification
trigger:
- platform: time
at: "18:00:00"
- entity_id: binary_sensor.someone_is_home
from: 'off'
platform: state
to: 'on'
condition:
- condition: and
conditions:
- condition: time
after: '09:00:00'
- condition: time
before: '23:00:00'
- condition: template
value_template: "{{ (states.sensor.awb.state != 'Keine') and (states.sensor.awb.state != 'unknown') }}"
action:
- service: notify.my_telegram
data_template:
message: "{{ states.sensor.awb.name }}: {{ states.sensor.awb.state }}"