i have now recreated your config and it works. i am now testing step by step what the problem could be. unfortunately you don’t use a date as the start date and what annoys me is that i have to restart the server every time to get a result. it just takes a really long time…
Okay, finally went ahead and set up a replacement for bruxy70’s calendar integration with local calendars and have everything working and displaying in lovelace correctly.
However, the one feature of bruxy70’s that I couldn’t figure out in Home Assistant is a way to change the event date based on holidays earlier in the week.
For me, my trash pickup is every Thursday, unless there is a Holiday on Sunday through Thursday in which case the trash pickup will be delayed (e.g., if Monday is a holiday, trash pickup will be Friday; if Monday and Tuesday are holidays, trash pickup will be Saturday; if it extends past Saturday, it will be skipped this week).
I don’t see any way in HA automations to edit a calendar entry (only create one via a service call).
I’m thinking I may need to just modify my trash pickup template sensor (as below where I calculate the number of days to the next event) to add logic to increase the number of days based on the holiday calendar.
I’ve also moved on from using the awesome original solution from bruxy70 by using 3 separate local calendars - one for each type of collection, as they are all different schedules. I have new cards which are similar to the original card that I used to use which was designed for the garbage collection integration, and managed to setup automations with push notifications, to mimic what I used to get.
I gave up/didn’t have enough time to find a way of automating the date shift due to a public holiday - especially as sometimes our local collection doesn’t change the original collection date if it falls in the week of a public holiday, but sometimes (mainly) they do change the pickup date by one day. I just settled on manually changing the pickup day once I know if it will be changing or not (the local council have an app where you can see your next collection dates). My council pickup schedule isn’t reliable enough to fully automate, which is a shame, but a quick edit to the recurring event in the calendar as and when - I can live with that - until my local council provide an API that I can use to get the dates automatically.
Yeah it’s unfortunate that the service call doesn’t allow for editing a calendar entry, or deleting. It would be great if we could remove it and add a new one based on holidays happening that week.
bruxy70’s integration is gone from HACS. Is it broken with the current version of HA if installed manually? Of course there’s no guarantee that it will keep working as things get changed with new releases.
Hi everybody !
I have a problem with settings for one of the sensors. In my region the recycle will be collected every 2 weeks.
How can I change the value for frequency to reflect this ?
I mean that I need to replace frequency: WEEKLY, with EVERY TWO WEEKS. What is the correct value in this case ?