Fixed database operations in MQTT calls
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-09-19 16:39:35 +02:00
parent 23468384d2
commit b7773c65ef
2 changed files with 9 additions and 2 deletions

View File

@@ -20,7 +20,6 @@ sensorschema = SensorSchema(many=False)
LOGGER = logging.getLogger(__name__)
@mqtt.on_topic(f"{config.MQTT_STATUS_TOPIC}/#")
def handle_status_message(client, userdata, message):
data = dict(
topic=message.topic,