Wrong value of last_updated and last_changed of xiaomi binary sensor

Hass.io is how you installed the software - Home Assistant.

However, please read this sticky post. We don’t know what actual version of Home Assistant you’re using (latest is not a number), how you’re connecting that sensor to Home Assistant, or anything else useful.