I saw you typing so I waited
Can you please read the sticky at the top of the forum : -
Point 11 is the issue above
Another point (that should be there but isn’t) is how the forum software works.
You are the thread owner, thus you get notified of any changes to it.
I am merely a participent (I do not get notified)
You have to reply ‘to me’ if you want me to be notified (or anyone else for that matter)
(that ‘reply’ is in the lower right corner of that persons post)
This is not an hour off, it’s 15mins 35seconds off
This sounds more like a propagation delay than a problem with your DST/location settings
This has misled everybody trying to help you so far.
BTW you didn;t answer the question : -
But it’s also in a script so you have hidden what you did that you expect to cause the switch to operate (maybe there’s a delay or you are using indirect addressing ? )
Show the script too.
But I don’t think that’s needed now
Reasons for propagation delays are very rarely HA’s fault
What is the switch ?
If it’a Zigbee or Z-wave device it could be that it’s in a very weak signal area or that you used to have an intemediary device which extended the network (but that device has been moved or is no longer working)
Is it a stored message via MQTT ???
If it’s (say) Tuya, ESPHome, Sonoff etc. the issues may be pretty much the same as above but it could be that somebody knocked your WiFi antenna or have you (or even a neighbour) a new microwave or other interference on/around 2.4GHz ???
i.e. has something you think ‘unrelated’ changed ?
@septillion , @AdmiralStipe For info