mirror of
https://github.com/fmtr/haco.git
synced 2026-10-26 02:48:54 -04:00
Remove redundant log message
Some checks failed
Version and Deploy / build (push) Has been cancelled
Some checks failed
Version and Deploy / build (push) Has been cancelled
This commit is contained in:
parent
ca3d794587
commit
7b0e27407a
2 changed files with 2 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import aiomqtt
|
||||
import asyncio
|
||||
|
||||
from fmtr.tools import mqtt, Constants
|
||||
from fmtr.tools import mqtt
|
||||
from haco import constants
|
||||
from haco.constants import SUBSCRIBE
|
||||
from haco.obs import logger
|
||||
|
|
@ -30,8 +30,6 @@ class ClientHaco(mqtt.Client):
|
|||
await self.subscribe(topic_sub)
|
||||
|
||||
async for message in self.messages:
|
||||
payload = message.payload.decode()
|
||||
logger.info(f"{message.topic.value}{Constants.ARROW}{payload}")
|
||||
topic_command = self.device.subscriptions[message.topic.value]
|
||||
await topic_command.handle(message)
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
0.1.5
|
||||
0.1.6
|
||||
Loading…
Add table
Add a link
Reference in a new issue