bruxy70 / Garbage-Collection

🗑 Custom Home Assistant sensor for scheduling garbage collection (or other regularly re-occurring events - weekly on given days, semi-weekly or monthly)
MIT License
382 stars 90 forks source link

Calendar automation Error: UndefinedError: 'dict object' has no attribute 'event' #418

Closed somebodyfree closed 2 years ago

somebodyfree commented 2 years ago

Before you submit a new bug report, please check that

Describe the bug

Error: UndefinedError: 'dict object' has no attribute 'event'

Configuration

Download diagnostic opens empty page without any links.
I am using Holidays (1.8.0) helper  for US calendar and Garbage collection helper (4.8.3). I created automation using "Move on holiday" and "Skip holiday"  blueprint. When I run the automation using "garbage_collection_loaded" even or manually. The holidays in the calendar does not move to next day. I see message Aborted at July 23, 2022 at 1:21:05 AM (runtime: 0.01 seconds)

Debug logs

2022-07-23 01:45:22 INFO (MainThread) [custom_components.hacs] Loading known repositories
2022-07-23 01:45:22 INFO (MainThread) [custom_components.hacs] Starting recurring background task for downloaded repositories
2022-07-23 01:45:22 INFO (MainThread) [custom_components.hacs] Stage changed: HacsStage.RUNNING
2022-07-23 01:45:24 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Garbage Collection) Calling update
2022-07-23 01:45:24 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Garbage Collection) Dates loaded, firing a garbage_collection_loaded event
2022-07-23 01:45:24 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Garbage Collection) Looking for next collection
2022-07-23 01:45:24 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Garbage Collection) next_date (2022-07-28), today (2022-07-23)
2022-07-23 01:45:24 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Garbage Collection) Found next collection date: 28-Jul-2022, that is in 5 days
2022-07-23 01:45:24 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Running automation actions
2022-07-23 01:45:24 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Executing step setting variables
2022-07-23 01:45:24 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 1 of 156 with item: '2021-01-07'
2022-07-23 01:45:24 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Running automation actions
2022-07-23 01:45:24 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Executing step setting variables
2022-07-23 01:45:24 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 1 of 156 with item: '2021-01-07'
2022-07-23 01:45:24 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:24 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:24 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:24 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:24 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 2 of 156 with item: '2021-01-14'
2022-07-23 01:45:24 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 2 of 156 with item: '2021-01-14'
2022-07-23 01:45:24 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 75 of 156 with item: '2022-06-09'
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 74 of 156 with item: '2022-06-02'
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 76 of 156 with item: '2022-06-16'
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 75 of 156 with item: '2022-06-09'
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 77 of 156 with item: '2022-06-23'
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 76 of 156 with item: '2022-06-16'
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 78 of 156 with item: '2022-06-30'
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 77 of 156 with item: '2022-06-23'
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 79 of 156 with item: '2022-07-07'
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 78 of 156 with item: '2022-06-30'
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 80 of 156 with item: '2022-07-14'
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 79 of 156 with item: '2022-07-07'
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:25 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 81 of 156 with item: '2022-07-21'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 80 of 156 with item: '2022-07-14'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 82 of 156 with item: '2022-07-28'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 81 of 156 with item: '2022-07-21'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 83 of 156 with item: '2022-08-04'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 82 of 156 with item: '2022-07-28'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 84 of 156 with item: '2022-08-11'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 83 of 156 with item: '2022-08-04'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 85 of 156 with item: '2022-08-18'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 84 of 156 with item: '2022-08-11'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 86 of 156 with item: '2022-08-25'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 85 of 156 with item: '2022-08-18'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 87 of 156 with item: '2022-09-01'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 86 of 156 with item: '2022-08-25'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 88 of 156 with item: '2022-09-08'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 87 of 156 with item: '2022-09-01'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 89 of 156 with item: '2022-09-15'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 88 of 156 with item: '2022-09-08'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 90 of 156 with item: '2022-09-22'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 89 of 156 with item: '2022-09-15'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 91 of 156 with item: '2022-09-29'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 90 of 156 with item: '2022-09-22'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 92 of 156 with item: '2022-10-06'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 91 of 156 with item: '2022-09-29'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 93 of 156 with item: '2022-10-13'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 92 of 156 with item: '2022-10-06'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 94 of 156 with item: '2022-10-20'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 93 of 156 with item: '2022-10-13'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 95 of 156 with item: '2022-10-27'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 94 of 156 with item: '2022-10-20'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 96 of 156 with item: '2022-11-03'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 95 of 156 with item: '2022-10-27'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 97 of 156 with item: '2022-11-10'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 96 of 156 with item: '2022-11-03'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 98 of 156 with item: '2022-11-17'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 97 of 156 with item: '2022-11-10'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 99 of 156 with item: '2022-11-24'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 98 of 156 with item: '2022-11-17'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: True
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Executing step Remove the date
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 DEBUG (MainThread) [custom_components.garbage_collection] called remove_date 2022-11-24 from sensor.garbage_collection
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 99 of 156 with item: '2022-11-24'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: True
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Executing step Move the date
2022-07-23 01:45:26 DEBUG (MainThread) [custom_components.garbage_collection] called offset_date 2022-11-24 by 1 days for sensor.garbage_collection
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 100 of 156 with item: '2022-12-01'
2022-07-23 01:45:26 WARNING (MainThread) [custom_components.garbage_collection.sensor] 2022-11-24 not removed from Garbage Collection - not in the collection schedule
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 101 of 156 with item: '2022-12-08'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 100 of 156 with item: '2022-12-01'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 102 of 156 with item: '2022-12-15'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 101 of 156 with item: '2022-12-08'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 103 of 156 with item: '2022-12-22'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 102 of 156 with item: '2022-12-15'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 104 of 156 with item: '2022-12-29'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 103 of 156 with item: '2022-12-22'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 105 of 156 with item: '2023-01-05'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 104 of 156 with item: '2022-12-29'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 106 of 156 with item: '2023-01-12'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 105 of 156 with item: '2023-01-05'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 107 of 156 with item: '2023-01-19'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 106 of 156 with item: '2023-01-12'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 108 of 156 with item: '2023-01-26'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 107 of 156 with item: '2023-01-19'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 109 of 156 with item: '2023-02-02'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 108 of 156 with item: '2023-01-26'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 110 of 156 with item: '2023-02-09'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 109 of 156 with item: '2023-02-02'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 111 of 156 with item: '2023-02-16'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 110 of 156 with item: '2023-02-09'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 112 of 156 with item: '2023-02-23'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 111 of 156 with item: '2023-02-16'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 113 of 156 with item: '2023-03-02'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 112 of 156 with item: '2023-02-23'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Repeating Iterate through the dates: Iteration 140 of 156 with item: '2023-09-07'
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 139 of 156 with item: '2023-08-31'
2022-07-23 01:45:26 DEBUG (MainThread) [custom_components.garbage_collection] called update_state for sensor.garbage_collection
2022-07-23 01:45:26 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Garbage Collection) Looking for next collection
2022-07-23 01:45:26 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Garbage Collection) next_date (2022-07-28), today (2022-07-23)
2022-07-23 01:45:26 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Garbage Collection) Found next collection date: 28-Jul-2022, that is in 5 days
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:26 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:27 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Repeating Iterate through the dates: Iteration 156 of 156 with item: '2023-12-28'
2022-07-23 01:45:27 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Running automation actions
2022-07-23 01:45:27 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Iterate through the dates: Test condition Is this date a public holiday?: False
2022-07-23 01:45:27 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Executing step Update the garbage_collection entity
2022-07-23 01:45:27 DEBUG (MainThread) [custom_components.garbage_collection] called update_state for sensor.garbage_collection
2022-07-23 01:45:27 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Garbage Collection) Looking for next collection
2022-07-23 01:45:27 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Garbage Collection) next_date (2022-07-28), today (2022-07-23)
2022-07-23 01:45:27 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Garbage Collection) Found next collection date: 28-Jul-2022, that is in 5 days
2022-07-23 01:46:16 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Running automation actions
2022-07-23 01:46:16 INFO (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Executing step setting variables
2022-07-23 01:46:16 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'event' when rendering '{{ trigger.event.data.collection_dates }}'
2022-07-23 01:46:16 ERROR (MainThread) [homeassistant.components.automation.move_on_holiday] Move on holiday: Error rendering Move on holiday repeat for each items template: UndefinedError: 'dict object' has no attribute 'event'
2022-07-23 01:46:22 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Running automation actions
2022-07-23 01:46:22 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Executing step setting variables
2022-07-23 01:46:22 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'event' when rendering '{{ trigger.event.data.collection_dates }}'
2022-07-23 01:46:22 ERROR (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Error rendering Skip holiday repeat for each items template: UndefinedError: 'dict object' has no attribute 'event'
2022-07-23 01:46:27 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Running automation actions
2022-07-23 01:46:27 INFO (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Executing step setting variables
2022-07-23 01:46:27 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'event' when rendering '{{ trigger.event.data.collection_dates }}'
2022-07-23 01:46:27 ERROR (MainThread) [homeassistant.components.automation.skip_holiday] Skip holiday: Error rendering Skip holiday repeat for each items template: UndefinedError: 'dict o
bruxy70 commented 2 years ago

The automation blueprint has to be triggered by the garbage_collection_loaded event. Then, the trigger will add the set of collection dates to the event.data. If you run this automation yourselves, not triggered by the event, the event data will be missing. This is what the error says. And I think it is highlighted in the documentation. Not sure why the diagnostics does not show, I could not replicate that.

somebodyfree commented 2 years ago

Yes, I did triggered by going to developer tools --> events --> garbage_collection_loaded --> Fire Event Another strange behavior I noticed, when I added the integration I was presented only one option to add helper. It did add helper and I verified checking helper tab but I do not see anything on the integration dashboard.

bruxy70 commented 2 years ago

The event is triggered by the garbage collection, and when it does it, it will add the set of data calculated based on the schedule. So the BB blueprint you use uses this data. If you trigger the event manually, then you have to add this data. Or write own blueprint or automation that does not rely on that data. Helpers are on helpers page, not integrations. That's how it works.