Skip to content

Commit

Permalink
🐛 - Add a bit of logging
Browse files Browse the repository at this point in the history
  • Loading branch information
drinfernoo committed Nov 23, 2021
1 parent ed4de9c commit b4072c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wyzesense2mqtt/wyzesense2mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ def mqtt_simple_subscribe(mqtt_topic):
keepalive=CONFIG['mqtt_keepalive'],
)

LOGGER.debug(f"Received {msg.payload} from {mqtt_topic}")
return json.loads(msg.payload)


Expand Down

0 comments on commit b4072c7

Please sign in to comment.