Automation when MQTT Messages Stop

I’m receiving MQTT messages every 3 seconds (from a 8266) indicating a outdoor light is on. When the 8266 is powered on it continuly sends “ON” messages but at this point I don’t have any way of turning this Boolean to “OFF”. When these messages stop, I want to set my Boolean value to “OFF” (say after 10 seconds of not receiving a MQTT message). Is this possible with an automation?

If you mean the MQTT binary_sensor with ‘Boolean’, there’s an off_delay which updates the sensor to ‘off’ after a give time.

Yes this is exactly what I was looking for. I’m not sure why I didn’t notice that in the doc. All working as I wanted now. THANKS!