mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 04:06:03 +01:00
13 KiB
13 KiB
App CITIES
Support for schedules provided by App CITIES, serving App CITIES, Austria.
Supported cities
Configuration via configuration.yaml
waste_collection_schedule:
sources:
- name: citiesapps_com
args:
city: CITY
calendar: CALENDAR
Configuration Variables
city
(String) (required)
calendar
(String) (required)
Example
waste_collection_schedule:
sources:
- name: citiesapps_com
args:
city: Fürstenfeld
calendar: Haushalt Altenmarkt
waste_collection_schedule:
sources:
- name: citiesapps_com
args:
city: Buch - St. Magdalena
calendar: Buch - St. Magdalena
waste_collection_schedule:
sources:
- name: citiesapps_com
args:
city: Rudersdorf
calendar: Rudersdorf 3
How to get the source argument
Easy with CITIES app
The easiest way to find the parameter of your address is using CITIES app directly:
- Select your city.
- Use the exact spelling like in the app for the city parameter.
- Open
Services. - Open
Garbage calendar. - You should now see the garbage calendar(s) use the exact spelling for the calendar parameter.
- If the names are not descriptive enough you mostly can search by address
- Open
Search via adress. - Select your details.
- You should now see in the left top corner the garbage calendar name above your selected address.
More complicated with terminal wizard
If you do not want to install the app: The more complicated variant to get the parameter is by using the wizard at custom_components/waste_collection_schedule/waste_collection_schedule/wizard/citiesapps_com.py:
- Clone the repository:
git clone https://github.com/mampfes/hacs_waste_collection_schedule - Make sure inquirer is installed
pip install inquirer - Run the python script
python hacs_waste_collection_schedule/custom_components/waste_collection_schedule/waste_collection_schedule/wizard/citiesapps_com.pyorpython3 hacs_waste_collection_schedule/custom_components/waste_collection_schedule/waste_collection_schedule/wizard/citiesapps_com.py. Windows:python hacs_waste_collection_schedule\custom_components\waste_collection_schedule\waste_collection_schedule\wizard\citiesapps_com.py