mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 02:04:22 +01:00
changed fetchRange to option
defaults to "month" but optinal one can choose year
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user