#pragma once namespace kvida { // Starts mDNS-based MQTT broker discovery (_mqtt._tcp) and, once found, // connects the MQTT client and publishes Home Assistant MQTT Discovery // for a diagnostic "connectivity" entity. Safe to call multiple times // (no-op if already connecting/connected). No public-facing semantic // publish(topic, value) API yet -- deferred until `profiles` has real // sensor data to publish (see components/transport/README.md). void start_mqtt(); bool mqtt_connected(); } // namespace kvida