mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 00:04:11 +01:00
1.4 KiB
1.4 KiB
Abfuhrkalender Stadt Fürth
Support for schedules provided by https://abfallwirtschaft.fuerth.eu/.
Configuration via configuration.yaml
waste_collection_schedule:
sources:
- name: abfallwirtschaft_fuerth_eu
args:
id: ID
Configuration Variables
id (integer) (required) : The unique 8-digit identifier of your street section
Example Configuration
waste_collection_schedule:
sources:
- name: abfallwirtschaft_fuerth_eu
args:
id: 96983001
Example Sensor
- platform: waste_collection_schedule
name: waste_restabfall
details_format: "upcoming"
value_template: '{{ value.daysTo }}'
types:
- Restabfall
How to get the source arguments
- Open https://abfallwirtschaft.fuerth.eu/.
- Fill out the filter fields on the page (street and number).
- click the button "Abfuhrtermine importieren" and right click on "Kalender-Datei herunterladen" selecting "Copy link address". You should get something like this
https://abfallwirtschaft.fuerth.eu/termine.php?icalexport=96983001 - Copy the id number at the end of the link to your configuration file.
Adding Sensors
- platform: waste_collection_schedule
name: waste_restabfall
details_format: "upcoming"
value_template: '{{ value.daysTo }}'
types:
- Restabfall