When the auto-renewal payment of the Xiaomi Home Secure fails, the subscription will not be immediately canceled. There is a grace period during which attempts to process the payment continue.
For your reference, the subscription renewal policies for the App Store and Google Play are as follows:
1. For App Store, if the system's first attempt to charge the auto-renewal fee fails, it will continue to try to charge the auto-renewal fee using the payment method linked to the Apple Store for 16 consecutive days. If it cannot successfully charge the fee after trying for 16 days, the system will automatically cancel the Xiaomi Home Secure membership auto-renewal service;
2. For Google Play, if you do not resolve your payment issue within 30 days, the subscription will be automatically canceled.