ESPHome  2024.3.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
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Definition: a01nyub.cpp:7
APIServer * global_api_server
Definition: api_server.cpp:305