question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not picking bin up this week

See original GitHub issue

Describe 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:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bruxy70commented, Jan 4, 2021

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.

0reactions
callacompcommented, Jan 4, 2021

Fantastic, that’s worked. Yes I can see the right holidays in the dev tools now. Thanks again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Recycling Bin - pickup request- Solid Waste Services Store
If you request bin pickup, we will pick up your bin. by Friday at 2:00 p.m., by the end of Friday next week....
Read more >
Solid Waste Management - City of Memphis
Garbage collection is part of your weekly solid waste service which includes recycling ... This will explain the reason the collection was not...
Read more >
Trash and Recycling | KCMO.gov
Amnesty Week/No-tag pickup will run Tuesday, July 5 through Saturday, July 9; Labor Day - Sept. 5; Veterans Day - Nov. 11 (Friday's...
Read more >
Missed Trash, Recycling, or Compost Collection · NYC311
You can report that your trash or recycling was not picked up starting at 8 AM the day after your collection day. You...
Read more >
Bin collections and calendar - South Lanarkshire Council
To find your bin collection day click on the button for your area below and then search for your street. You can also...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found