ESPHome  2024.10.2
homeassistant_time.cpp
Go to the documentation of this file.
1 #include "homeassistant_time.h"
2 #include "esphome/core/log.h"
3 
4 namespace esphome {
5 namespace homeassistant {
6 
7 static const char *const TAG = "homeassistant.time";
8 
10  ESP_LOGCONFIG(TAG, "Home Assistant Time:");
11  ESP_LOGCONFIG(TAG, " Timezone: '%s'", this->timezone_.c_str());
12 }
13 
15 
17 
19 
20 HomeassistantTime *global_homeassistant_time = nullptr; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
21 } // namespace homeassistant
22 } // namespace esphome
const float DATA
For components that import data from directly connected sensors like DHT.
Definition: component.cpp:19
HomeassistantTime * global_homeassistant_time
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
APIServer * global_api_server
Definition: api_server.cpp:347