No Last Will support, how to manage MQTT sensor availability? (Telegraf + HomeAssisstant)

I’ve been trying and failing to get my telegraf client to properly inform about its shutdown and availability. MQTT has last_will feature that would do wonders here but it seems that it’s not supported by telegraf. Is there any hope to get it running, or any alternative?

I have my MQTT broker in homeassistant but after device shutdown it keeps showing last readout, rather than realizing that the sensor is unavailable.

Is anyone here using HA for device monitoring? How do you deal with this isse?

Hello @dragsliv,
Hello Telegraf doesn’t have a similar feature. Only buffering and caching to assist when the server has an outage.
@Jay_Clifford have you encountered solutions for this?