FWIW, there’s a useful option in MQTT Sensor called expire_after. If you set it to, for example, 60 seconds then if it does not receive an update within that interval it will set the sensor’s state to unknown. This state can be used to trigger an automation.
The expire_after option might be a useful addition to the Mi Flora plant sensor.