Iso_Time and Now_Time in the UK

Hi There,

I was looking at my automation traces this morning to try to figure out why my Power wall started charging at 23:32 instead of 00:32 as the automation has a condition to “prevent” the automation working outside of 00:30 to 04:30. I can guess this is something to do with the British summer time and a mix-up in the ISO and the NOW logic of the Condition:

Executed: 17 October 2022 at 23:32:12
Result:
after:
  __type: <class 'datetime.time'>
  isoformat: '00:30:00'
now_time:
  __type: <class 'datetime.time'>
  isoformat: '00:32:12.264445'
before:
  __type: <class 'datetime.time'>
  isoformat: '04:25:00'
weekday:
  - mon
  - tue
  - wed
  - thu
  - fri
  - sat
  - sun
now_weekday: tue
result: true

Above you can see the time the automation fires at 23:32 and the condition passed the checks even though the actual time was 23:32 it went through based on the ISO.FORMAT and not the actual time.

DOes anyone know how I can prevent that happening again?