would anyone have any code with could check for the current day being the days that daylight savings are being on and off? We have some solar panels on our house, and cheaper electricity during the night, and depending on whether we’re in DST or not, I would like the vera events to trigger either at night (when solar panels don’t generate much) or during the day (when sun is likely to be out). The handling of whether the events happen during the day or night is already handled, and currently picks up a virtual switch, however I currently need to manually change the virtual switch from on to off and back again, and to save me having to remember, if this could be automated, then that would be amazing.
As I’m based in the UK, the dates that the changes happen are, last Sunday in March, and last Sunday in Oct.