MQTT expiry time

It would be nice to define in MQTT expiry time and set sensor to STATE_UNKNOWN after this time