Hi all, I have a binary sensor "Dark outside" which is defined using the the tod integration:
binary_sensor:
- platform: tod
name: Dark Outside
after: sunset
before: sunrise
unique_id: dark_outside
I'm using this sensor to turn some outdoor lights on or off, and it works great for turning the lights on, but very regularly (multiple times per week) the lights don't turn off...
I think this sensor might be misbehaving (see the screenshot). Somehow the "Dark Outside" has turned off at 1:31 (which is not supposed to happen, because I'm pretty sure that's not sunrise), but also this doesn't show up in the Activity log (see screenshot) and also didn't trigger the linked automations π
If I look at the scheduled updates (see screenshot) I see that those values are correct...
How to debug this?