From d1435e2b1acc31fba64d21994d40297ae900c549 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 30 May 2023 01:01:09 +0300 Subject: platformio: make relay a library --- .../common/libs/mqtt_module_temphum/homekit/mqtt/module/temphum.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'platformio/common/libs/mqtt_module_temphum/homekit/mqtt') diff --git a/platformio/common/libs/mqtt_module_temphum/homekit/mqtt/module/temphum.cpp b/platformio/common/libs/mqtt_module_temphum/homekit/mqtt/module/temphum.cpp index 8b7a2ef..82f1d74 100644 --- a/platformio/common/libs/mqtt_module_temphum/homekit/mqtt/module/temphum.cpp +++ b/platformio/common/libs/mqtt_module_temphum/homekit/mqtt/module/temphum.cpp @@ -2,7 +2,7 @@ namespace homekit::mqtt { -static const char TOPIC_TEMPHUM_DATA[] = "data"; +static const char TOPIC_TEMPHUM_DATA[] = "temphum/data"; void MqttTemphumModule::init(Mqtt &mqtt) {} @@ -20,4 +20,4 @@ void MqttTemphumModule::tick(homekit::mqtt::Mqtt& mqtt) { mqtt.publish(TOPIC_TEMPHUM_DATA, reinterpret_cast(&payload), sizeof(payload)); } -} \ No newline at end of file +} -- cgit v1.2.3