mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Update binary_sensor.py (#28707)
* Update binary_sensor.py * Fix style issues
This commit is contained in:
parent
87606bc12b
commit
4f11eec1a1
@ -190,9 +190,11 @@ class MqttBinarySensor(
|
|||||||
self._state = False
|
self._state = False
|
||||||
else: # Payload is not for this entity
|
else: # Payload is not for this entity
|
||||||
_LOGGER.warning(
|
_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_NAME],
|
||||||
self._config[CONF_STATE_TOPIC],
|
self._config[CONF_STATE_TOPIC],
|
||||||
|
payload,
|
||||||
|
value_template,
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user