hello, on my three Raspberry Pi, python3 shows the correct local time:
$ python3 -c 'import datetime; print (datetime.datetime.now().strftime("%H:%M:%S"))'
09:09:51
I have three instances of home assistant, one running 0.103.6 and two running 0.103.5.
In all 3 instances HA thinks that the time is one hour earlier and my triggers activate an hour late. I confirmed the error in HomeAssistant’s idea of the current time with {{ now() }}
in the template window in developer tools. Is time zone handling broken in these recent versions of home assistant?
You can find my HA configuration (via Chef recipes in Ruby) in github. I do not set the timezone using environment variables:
$ env - python3 -c 'import datetime; print (datetime.datetime.now().strftime("%H:%M:%S"))'
09:18:13
$ ls -l /etc/localtime
lrwxrwxrwx 1 root root 32 Dec 22 23:36 /etc/localtime -> /usr/share/zoneinfo/Europe/Paris
My Raspberry Pi are running Raspbian GNU/Linux 10.