mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 04:06:03 +01:00
ambervalley_gov_uk add predict argument, which tries to predict collections further in the future
This commit is contained in:
@@ -10,6 +10,7 @@ waste_collection_schedule:
|
||||
- name: ambervalley_gov_uk
|
||||
args:
|
||||
uprn: UPRN_CODE
|
||||
predict: PREDICT (optional) True or False
|
||||
```
|
||||
|
||||
### Configuration Variables
|
||||
@@ -17,6 +18,11 @@ waste_collection_schedule:
|
||||
**uprn**
|
||||
*(string) (required)*
|
||||
|
||||
**predict**
|
||||
*(boolean) (optional|defaults to false)*
|
||||
|
||||
If `predict` is set to `True`, the source will try to predict the next collection date based on the previous collection dates and collection frequency. By default this source only provides the next collection date.
|
||||
|
||||
## Example
|
||||
|
||||
```yaml
|
||||
@@ -29,4 +35,4 @@ waste_collection_schedule:
|
||||
|
||||
## How to get the source argument
|
||||
|
||||
An easy way to discover your Unique Property Reference Number (UPRN) is by going to <https://www.findmyaddress.co.uk/> and entering in your address details.
|
||||
An easy way to discover your Unique Property Reference Number (UPRN) is by going to <https://www.findmyaddress.co.uk/> and entering in your address details.
|
||||
|
||||
Reference in New Issue
Block a user