After upgrading to .63 from .58 I have warnings in the log file every time HASS gets an MQTT message seemingly complaining about no matching payload, even though the message payload matches the definitions in the binary sensor.
Log messages:
2018-02-11 14:35:33 WARNING (MainThread) [homeassistant.components.binary_sensor.mqtt] No matching payload found for entity: sensor7 with state_topic: unosensor
2018-02-11 14:35:33 WARNING (MainThread) [homeassistant.components.binary_sensor.mqtt] No matching payload found for entity: sensor6 with state_topic: unosensor
2018-02-11 14:35:33 WARNING (MainThread) [homeassistant.components.binary_sensor.mqtt] No matching payload found for entity: sensor3 with state_topic: unosensor
2018-02-11 14:35:33 WARNING (MainThread) [homeassistant.components.binary_sensor.mqtt] No matching payload found for entity: sensor5 with state_topic: unosensor
2018-02-11 14:35:33 WARNING (MainThread) [homeassistant.components.binary_sensor.mqtt] No matching payload found for entity: sensor4 with state_topic: unosensor
2018-02-11 14:35:33 WARNING (MainThread) [homeassistant.components.binary_sensor.mqtt] No matching payload found for entity: sensor2 with state_topic: unosensor
2018-02-11 14:35:33 WARNING (MainThread) [homeassistant.components.binary_sensor.mqtt] No matching payload found for entity: sensor1 with state_topic: unosensor
2018-02-11 14:35:33 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: exception=, message=No matching payload found for entity: sensor7 with state_topic: unosensor, level=WARNING, source=components/binary_sensor/mqtt.py, timestamp=1518377733.7528663>
2018-02-11 14:35:33 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: exception=, message=No matching payload found for entity: sensor6 with state_topic: unosensor, level=WARNING, source=components/binary_sensor/mqtt.py, timestamp=1518377733.753482>
2018-02-11 14:35:33 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: exception=, message=No matching payload found for entity: sensor3 with state_topic: unosensor, level=WARNING, source=components/binary_sensor/mqtt.py, timestamp=1518377733.7538924>
2018-02-11 14:35:33 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: exception=, message=No matching payload found for entity: sensor5 with state_topic: unosensor, level=WARNING, source=components/binary_sensor/mqtt.py, timestamp=1518377733.7542672>
2018-02-11 14:35:33 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: exception=, message=No matching payload found for entity: sensor4 with state_topic: unosensor, level=WARNING, source=components/binary_sensor/mqtt.py, timestamp=1518377733.754615>
2018-02-11 14:35:33 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: exception=, message=No matching payload found for entity: sensor2 with state_topic: unosensor, level=WARNING, source=components/binary_sensor/mqtt.py, timestamp=1518377733.754946>
2018-02-11 14:35:33 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: exception=, message=No matching payload found for entity: sensor1 with state_topic: unosensor, level=WARNING, source=components/binary_sensor/mqtt.py, timestamp=1518377733.7552676>
Binary sensor definitions:
binary_sensor:
- platform: mqtt
state_topic: “unosensor”
device_class: safety
name: sensor1
payload_on: “1_ON”
payload_off: “1_OFF” - platform: mqtt
state_topic: “unosensor”
device_class: safety
name: sensor2
payload_on: “2_ON”
payload_off: “2_OFF” - platform: mqtt
state_topic: “unosensor”
device_class: safety
name: sensor3
payload_on: “3_ON”
payload_off: “3_OFF” - platform: mqtt
state_topic: “unosensor”
device_class: safety
name: sensor4
payload_on: “4_ON”
payload_off: “4_OFF” - platform: mqtt
state_topic: “unosensor”
device_class: safety
name: sensor5
payload_on: “5_ON”
payload_off: “5_OFF” - platform: mqtt
state_topic: “unosensor”
device_class: safety
name: sensor6
payload_on: “6_ON”
payload_off: “6_OFF” - platform: mqtt
state_topic: “unosensor”
device_class: safety
name: sensor7
payload_on: “7_ON”
payload_off: “7_OFF” - platform: mqtt
state_topic: “unosensor”
device_class: safety
name: sensor8
payload_on: “8_ON”
payload_off: “8_OFF”
Confirmation that payloads do indeed match by subscribing to the same topic:
:/var/opt/homeassistant$ mosquitto_sub -h 127.0.0.1 -p 1883 -t unosensor
1_OFF
2_OFF
3_OFF
4_OFF
5_OFF
6_ON
7_OFF
8_OFF
Interstingly the sensors do seem to reflect the intended state (on or off based on MQTT payload), but still get the warnings in the log. Any ideas?