From cd7e5c16f3e0e768a24b4d448db01b1d94a0b4c1 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 25 Dec 2022 03:10:33 +0300 Subject: fix log messages --- src/inverter_mqtt_receiver.py | 2 +- src/sensors_mqtt_receiver.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inverter_mqtt_receiver.py b/src/inverter_mqtt_receiver.py index ede6598..d138609 100755 --- a/src/inverter_mqtt_receiver.py +++ b/src/inverter_mqtt_receiver.py @@ -16,7 +16,7 @@ class MQTTReceiver(MQTTBase): def on_connect(self, client: mqtt.Client, userdata, flags, rc): super().on_connect(client, userdata, flags, rc) - self._logger.info("subscribing to home/#") + self._logger.info("subscribing to hk/#") client.subscribe('hk/#', qos=1) def on_message(self, client: mqtt.Client, userdata, msg): diff --git a/src/sensors_mqtt_receiver.py b/src/sensors_mqtt_receiver.py index ead28db..0b4c279 100755 --- a/src/sensors_mqtt_receiver.py +++ b/src/sensors_mqtt_receiver.py @@ -23,7 +23,7 @@ class MQTTServer(MQTTBase): def on_connect(self, client: mqtt.Client, userdata, flags, rc): super().on_connect(client, userdata, flags, rc) - self._logger.info("subscribing to home/#") + self._logger.info("subscribing to hk/#") client.subscribe('hk/#', qos=1) def on_message(self, client: mqtt.Client, userdata, msg): -- cgit v1.2.3