diff --git a/src/hass.cpp b/src/hass.cpp index 68da34b..e8f20ef 100644 --- a/src/hass.cpp +++ b/src/hass.cpp @@ -1,3 +1,4 @@ +#ifdef ENABLE_HOME_ASSISTANT #include #include @@ -6,8 +7,6 @@ #include #include -#ifdef ENABLE_HOME_ASSISTANT - HomeAssistant::HomeAssistant(const Config& config) { m_config = config; } @@ -161,4 +160,4 @@ void HomeAssistant::disconnect() const { lws_context_destroy(context); } -#endif \ No newline at end of file +#endif