home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.72k stars 30.45k forks source link

Integration Nederlandse Spoorwegen uses wrong time (running in synology docker) #45815

Closed lukaskrepel closed 3 years ago

lukaskrepel commented 3 years ago

The problem

The Nederlandse Spoorwegen integration uses the wrong time. Even though both the Synology DSM timezone is set to Europe/Amsterdam as well as the Home Assistant configuration.yaml the integration always shows trains an hour before the current actual time.

I've seen people mentioning this problem elsewhere online and even commenting this as fixed when setting the time correctly on a raspberry, so it might a specific problem when running HA in Docker on a Synology NAS.

What is version of Home Assistant Core has the issue?

2021.1.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Nederlandse Spoorwegen

Link to integration documentation on our website

https://www.home-assistant.io/integrations/nederlandse_spoorwegen/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

probot-home-assistant[bot] commented 3 years ago

nederlandse_spoorwegen documentation nederlandse_spoorwegen source (message by IssueLinks)

probot-home-assistant[bot] commented 3 years ago

Hey there @yarmom, mind taking a look at this issue as its been labeled with an integration (nederlandse_spoorwegen) you are listed as a codeowner for? Thanks! (message by CodeOwnersMention)

hmmbob commented 3 years ago

Don't know if this helps, but did you try passing the correct timezone in the ENV as per the docs? It is mentioned explicitly as needed to prevent time issues :)

https://www.home-assistant.io/docs/installation/docker/#synology-nas

lukaskrepel commented 3 years ago

Don't know if this helps, but did you try passing the correct timezone in the ENV as per the docs? It is mentioned explicitly as needed to prevent time issues :)

https://www.home-assistant.io/docs/installation/docker/#synology-nas

That fixed the problem! Thank you. It didn't occur to me that it would be a docker problem, because all other times in Home Assistant are functioning just fine.