Blackymas / NSPanel_HA_Blueprint

This allows you to configure your complete NSPanel via Blueprint with UI and without changing anything in the code
1.23k stars 227 forks source link

`Bug` DST issue #2005

Closed Ulrar closed 2 months ago

Ulrar commented 2 months ago

TFT Version

4.3.1

ESPHome Version

4.3.1

Blueprint Version

4.3.1

Panel Model

Arduino

What is the bug?

DST change not applied

Steps to Reproduce

No response

Your Panel's YAML

No response

ESPHome Logs

No response

Home Assistant Logs

No response

Apologies, was filling this out on my phone and somehow it submitted before I was done so I can't see the drop-downs anymore.

Anyway the issue is my panels didn't change time with everything else yesterday, they're still one hour behind. Where does the time come from? My HA container has the right timezone in its env var, and in the app all the times look right so presumably the container has it set correctly. Thanks

edwardtfn commented 2 months ago

The time comes from HA by default, but timezone and DST is defined at compiling time. When compiling you will see the time zone used in the beginning of the log. If it isn't using the right timezone, you can enforce it as a customization as the example here.

Ulrar commented 2 months ago

I upgraded recently and hadn't seen this, that did the trick, thanks !