mirror of
https://github.com/esphome/esphome.git
synced 2026-02-25 04:45:29 -07:00
b4817c424d6a71b2b01b0d5121681ceea8f28c6d
Old clients (before 2026.3.0) send only the timezone string without the parsed_timezone struct, so all fields default to zero. Without this check, the device would overwrite its codegen-configured timezone with UTC. Keep the codegen timezone when the struct is unpopulated (all zeros). For actual UTC this also skips, which is harmless since UTC is the default.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
484 MiB
Languages
C++
64.1%
Python
35.6%
C
0.2%
