MQTT sensor "blinking" when payload doesn't always contain value?

Are there multiple temperature sensors or just one?

If you have multiple temperature sensors, whose data is published to the same topic, you will need to adopt a strategy for demultiplexing it (i.e. assigning received data to the correct MQTT Sensor).

I proposed two ways of handling the issue in this topic. It’s for a Sonoff RF Bridge but the strategies remain the same for any device that multiplexes data from several sensors into a single MQTT topic.