smarter cmake, conditional hass, still need to do conditional gzip logging
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
#include <nlohmann/json.hpp>
|
||||
#include <string>
|
||||
|
||||
#ifdef ENABLE_HOME_ASSISTANT
|
||||
|
||||
HomeAssistant::HomeAssistant(const Config& config) {
|
||||
m_config = config;
|
||||
}
|
||||
@@ -158,3 +160,5 @@ void HomeAssistant::service(const int timeout_ms) const {
|
||||
void HomeAssistant::disconnect() const {
|
||||
lws_context_destroy(context);
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user