Xiaomi Vacuum: remove deprecated calls #10839
This is a fixed version of #9733 (fixing the deprecated warnings mentioned in #9013), converting to use non-deprecated variant of dnd checking while incurring another I/O operation.
The tests are modified to not check for the order of calls but just that they have taken place.
Related issue (if applicable): fixes #
If the code communicates with devices, web services, or third-party tools: