something i observed as well: this happens with ALL my mqtt sensors.
the values appear once they are published by the sensor UNTIL any other sensor sends some data. then THIS data is shown, and the other data disappear.
so let’s assume there are two sensors: one measure POWER, the other measured temperature.
the both come from the same topic: sensors/rtl_433
but from different sensors. one is an energy meter, the other one a thermometer.
08:50:09 /home/homeassistant/.homeassistant# mosquitto_sub -u mqtt -P mqtt -t sensors/rtl_433
{"time" : "2018-03-18 20:50:45", "model" : "Nexus Temperature/Humidity", "id" : 69, "battery" : "OK", "channel" : 1, "temperature_C" : -2.300, "humidity" : 20}
{"time" : "2018-03-18 20:50:49", "brand" : "OS", "model" : "CM160", "id" : 11, "power_W" : 917}
{"time" : "2018-03-18 20:51:42", "model" : "Nexus Temperature/Humidity", "id" : 69, "battery" : "OK", "channel" : 1, "temperature_C" : -2.300, "humidity" : 20}
{"time" : "2018-03-18 20:51:49", "brand" : "OS", "model" : "CM160", "id" : 11, "power_W" : 950}
{"time" : "2018-03-18 20:52:39", "model" : "Nexus Temperature/Humidity", "id" : 69, "battery" : "OK", "channel" : 1, "temperature_C" : -2.300, "humidity" : 20}
{"time" : "2018-03-18 20:52:49", "brand" : "OS", "model" : "CM160", "id" : 11, "power_W" : 933}
{"time" : "2018-03-18 20:53:14", "brand" : "OS", "model" : "CM160", "id" : 11, "power_W" : 901}
{"time" : "2018-03-18 20:53:26", "brand" : "OS", "model" : "CM160", "id" : 11, "power_W" : 853}
{"time" : "2018-03-18 20:53:36", "model" : "Nexus Temperature/Humidity", "id" : 69, "battery" : "OK", "channel" : 1, "temperature_C" : -2.300, "humidity" : 20}
{"time" : "2018-03-18 20:53:37", "brand" : "OS", "model" : "CM160", "id" : 11, "power_W" : 853}
every new line triggers what is show.
what causes this effect, and how would i solve this??