Skip to content

Commit 63387ea

Browse files
author
Gerrit Beine
committed
Telegam received callback is no longer async
1 parent c687bcc commit 63387ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

knx2mqtt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def publish_to_mqtt(address, value):
134134
mqtt_client.publish("{}/timestamp".format(topic), time.time(), retain=True)
135135

136136

137-
async def on_telegram_received(telegram):
137+
def on_telegram_received(telegram):
138138
try:
139139
if telegram.direction != TelegramDirection.INCOMING:
140140
return

0 commit comments

Comments
 (0)