Home Assistant Time Source¶
The preferred way to get time in ESPHome is using Home Assistant.
homeassistant time platform, the native API connection
to Home Assistant will be used to periodically synchronize the current time.
# Example configuration entry time: - platform: homeassistant id: homeassistant_time
All options from Base Time Configuration.