Return int instead of string from last_sent_value