Lower log level for non-JSON payload in MQTT update (#81348)

Change log level
pull/81358/head
Maciej Bieniek 2022-11-01 15:57:48 +01:00 committed by GitHub
parent 8d50b05d0d
commit 509d5fd69d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -181,9 +181,9 @@ class MqttUpdate(MqttEntity, UpdateEntity, RestoreEntity):
msg.topic, msg.topic,
) )
except JSON_DECODE_EXCEPTIONS: except JSON_DECODE_EXCEPTIONS:
_LOGGER.warning( _LOGGER.debug(
"No valid (JSON) payload detected after processing payload '%s' on topic %s", "No valid (JSON) payload detected after processing payload '%s' on topic %s",
json_payload, payload,
msg.topic, msg.topic,
) )
json_payload["installed_version"] = payload json_payload["installed_version"] = payload