inverter_mqtt_receiver: fix subscribe() topic
This commit is contained in:
parent
e7362bd832
commit
ef350a3592
@ -17,7 +17,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/#")
|
||||
client.subscribe('home/#', qos=1)
|
||||
client.subscribe('hk/#', qos=1)
|
||||
|
||||
def on_message(self, client: mqtt.Client, userdata, msg):
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user