Not picking bin up this week
See original GitHub issueDescribe the bug
I have alternating black and blue bin collections, its been working for months with no problems. I've got an automation that runs on a Sunday to remind me to put the right bin out. Today I didn't get a message. I've checked the sensor and the black bin is 8 days away which is correct but the blue bin is tomorrow and it states, on 14-Dec-2020, in 15 days . So its missing tomorrow?After setting logging to debug I can see its picking up a scottish holiday, but then its also not taking three days off it. So is this an issue?. It should be ignoring scotish holidays, but if it is picking it up it should be taking 3 days off it, ie Saturday collection
Configuration
Do you configure the integration in YAML or Config Flow (GUI)? : config flow
{
"entry_id": "9f08dfb4a73a4de9a62ae56fe6c8e88d",
"version": 1,
"domain": "garbage_collection",
"title": "Blue bin",
"data": {
"unique_id": "08f523ac-e76e-486d-b35e-cb9322c176bd",
"frequency": "odd-weeks",
"icon_normal": "mdi:trash-can",
"icon_today": "mdi:delete-restore",
"icon_tomorrow": "mdi:delete-circle",
"verbose_state": true,
"verbose_format": "on {date}, in {days} days",
"date_format": "%d-%b-%Y",
"collection_days": [
"mon"
],
"first_month": "jan",
"last_month": "dec",
"move_country_holidays": "UK",
"holiday_move_offset": -3,
"state": "England",
"observed": true,
"holiday_in_week_move": false
},
"options": {},
"system_options": {
"disable_new_entities": false
},
"source": "user",
"connection_class": "local_poll",
"unique_id": null
Error log/debug information
`` 2021-11-30: St. Andrew’s Day [Scotland
2020-11-29 23:57:42 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Blue bin) Skipping public holiday on 2020-11-30 2020-11-29 23:57:42 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Blue bin) Skipping public holiday on 2020-11-30 2020-11-29 23:57:42 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Blue bin) Next date candidate (2020-12-14
**Screenshots**
<!--If applicable, add screenshots to help explain the problem.-->
Next date
2020-12-14T00:00:00+00:00
Days
15
Last collection
-
Last updated
2020-11-29T23:28:38.418853+00:
**Version**
3.10 and 3.11 beta
Integration version:
?
Home Assistant version:
0.118.3
<!--Thanks-->
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top GitHub Comments
It might work. Try installing 3.15-beta1, then change the country to England. If you go to the Development Tools, States, and check the sensor, it lists the holidays found this year as an attribute.
Fantastic, that’s worked. Yes I can see the right holidays in the dev tools now. Thanks again.