mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-20 23:04:13 +01:00
1.1 KiB
1.1 KiB
Hygea
Support for schedules provided by hygea.be.
Configuration via configuration.yaml
waste_collection_schedule:
sources:
- name: hygea_be
args:
streetIndex: STREET_INDEX
cp: POSTAL_CODE
The arguments can be found in the URL after visiting the the calendar. Select your city and optionally street to show the schedule for your town. Now check the URL and extract either streetIndex (if available) or postal code from the URL. See also examples below.
Configuration Variables
streetIndex
(int)
Street index, extracted from URL.
cp
(int)
Postal code, extracted from URL.
Example
# URL: https://www.hygea.be/votre-calendrier-de-collecte.html?cp=7021&street=&streetIndex=13
waste_collection_schedule:
sources:
- name: hygea_be
args:
streetIndex: 13
# URL: https://www.hygea.be/votre-calendrier-de-collecte.html?cp=6560&streetIndex=
waste_collection_schedule:
sources:
- name: hygea_be
args:
cp: 6560