refactor schweinfurt_de

also fix typos in file names
This commit is contained in:
mampfes
2023-02-08 07:46:58 +01:00
parent 23e831e429
commit 8c0260535a
5 changed files with 75 additions and 69 deletions

View File

@@ -0,0 +1,52 @@
# Abfallwirtschaft Stadt Schweinfurt
Support for schedules provided by [Schweinfurt](https://www.schweinfurt.de/leben-freizeit/umwelt/abfallwirtschaft/4427.Aktuelle-Abfuhrtermine-und-Muellkalender.html), Germany.
## Configuration via configuration.yaml
```yaml
waste_collection_schedule:
sources:
- name: schweinfurt_de
args:
address: ADDRESS
showmobile: SHOWMOBILE
```
### Configuration Variables
**address**
*(string) (required)*
**showmobile** (default=false)
*(bool) (optional)* case-sensitive
## Example
```yaml
waste_collection_schedule:
sources:
- name: schweinfurt_de
args:
address: "Ahornstrasse"
showmobile: "True"
```
parameter showmobile is optional
```yaml
waste_collection_schedule:
sources:
- name: schweinfurt_de
args:
address: "Ahornstrasse"
showmobile: "False"
```
## How to get the source arguments
1. Go to your calendar at [Schweinfurt - Abfallkalender](https://www.schweinfurt.de/leben-freizeit/umwelt/abfallwirtschaft/4427.Aktuelle-Abfuhrtermine-und-Muellkalender.html)
2. Enter your street and housenumber
3. Copy the exact values from the textboxes street in the source configuration.
Use the showmobile parameter to include schedules for "Mobiler Wertstoffhof"