How to change timezone inside room-assistant docker container? #680
-
Hi, I have a cluster of 3 instances tracking a ble beacon and everything works great, but the containers (and consequently the sensor data sent over mqtt to homeassistant) report time in UTC. which at the moment is hour off GMT Is there any way to set the timezone inside the docker container to for reference my docker-compose.yml:
my config/local.yml
Thanks for any ideas! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think I added the necessary package to allow changing timezones in Docker just now in 6702b98. I'll make it available for 2.16.1 today. Then you should be able to set the version: '3'
services:
room-assistant:
environment:
TZ: 'Europe/London' |
Beta Was this translation helpful? Give feedback.
I think I added the necessary package to allow changing timezones in Docker just now in 6702b98. I'll make it available for 2.16.1 today. Then you should be able to set the
TZ
environment variable like so: