Update binary_sensor.py (#28707)

* Update binary_sensor.py

* Fix style issues
This commit is contained in:
Federico Leoni 2019-11-12 05:53:08 -03:00 committed by Fabian Affolter
parent 87606bc12b
commit 4f11eec1a1

View file

@ -190,9 +190,11 @@ class MqttBinarySensor(
self._state = False
else: # Payload is not for this entity
_LOGGER.warning(
"No matching payload found" " for entity: %s with state_topic: %s",
"No matching payload found for entity: %s with state topic: %s. Payload: %s, with value template %s",
self._config[CONF_NAME],
self._config[CONF_STATE_TOPIC],
payload,
value_template,
)
return