smarter cmake, conditional hass, still need to do conditional gzip logging

This commit is contained in:
2026-02-24 19:53:54 +01:00
parent 0154616d18
commit 369e4d0213
4 changed files with 42 additions and 11 deletions

View File

@@ -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