When a Matter device is powered back on, how can the lock status be updated to the Apple Home?

If the lock's status changes while the device is powered off, causing a mismatch between the lock and the Apple Hub, how can I immediately update the status upon powering on?

Related