changed fetchRange to option

defaults to "month" but optinal one can choose year
This commit is contained in:
LuBeDa
2021-08-23 19:33:55 +02:00
parent 88270b6e3e
commit 9d1b3589f7
2 changed files with 53 additions and 14 deletions

View File

@@ -14,6 +14,7 @@ waste_collection_schedule:
licenseKey: VALIDKEY
cityId: CITYID
streetId: STREETID
fetchRange: FETCHRANGE
```
### Configuration Variables
@@ -27,6 +28,11 @@ waste_collection_schedule:
**STREETID**<br>
*(string) (required)*
**FETCHRANGE**<br>
*(string) (optional)* default: month or year
The `fetchRange` limits the query count to the server. "Month" does three queries, "year" usually one, only in nov/dec it does two.
## Example
```yaml
@@ -37,6 +43,7 @@ waste_collection_schedule:
licenseKey: Dattelnx2345612
cityId: 9
streetId: 2162
fetchRange: year
```
## How to get the source arguments