Hello again,
when I woke up today, the bulb was off but on a further inspections in HA I discovered this:
There is something wrong with the logic and I can’t put my finger on it. I could assume that the bulb switched off 30’ later than what I had selected due to some offset hiding somewhere in the code, but what strikes dumb is the fact that it went on from 6:25AM to 7:00AM.
As I said, any help would be most appreciated.

