Interesting. I never thought about letting HA handle the timezone. I normally like all things to be standardized (UTC is a great way to do that), but it bothers me that the console timestamps are off when Iām trying to work on it.
I found an easy method for changing timezone for my devices as I flash them.
For myself, Iām in Eastern Timezone in US, so I type these three commands in console as follows:
TimeZone 99
TimeDST 0,2,3,1,2,-240
TimeSTD 0,1,11,1,2,-300
Though, I am working on an easier way using curl and the URLs to send the same commands. Right now I just copy/paste a string of 4 curl commands (3 to set those above, and the last to set option19 to 1).
I am curious on where the time even comes into play. When the tasmota device sends the mqtt message to mosquito, I see the time being logged. If I change the timezone, how will HA respond? I see no TZ data in the payload. Will it mess up any historical data/graphs with a change?
04:41:18 MQT: tele/th16_1/switch1/SENSOR = {"Time":"2020-04-26T04:41:18","AM2301":{"Temperature":20.3,"Humidity":52.5,"DewPoint":10.2},"TempUnit":"C"}
Now I donāt know if I should change every tasmota device to UTC or continue setting them all to my local TZ. So long as you keep it consistent, are there any drawbacks or advantages to either?