Expire don´t work at mqtt Switch

This is how expire is intended to work.
autoupdate won’t affect that, as it is about commands.

I think I’d do it with a rule and timer (no proxy Item required)