HA not sending MQTT 'will message' (offline)

I’m using the Mosquitto broker, which is working perfectly and stays ‘up’ while HA is rebooting.