Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Convert MQTT Light tests to async #17754
To migrate restore_state (PR #17270) to use the storage helper instead of history, we need to migrate all tests for components/platforms that use restore state to async or else the pytest fixtures won't work.
As a test to see how difficult it was, I converted the MQTT light tests. It took ~15-20 min because I had to figure out what things to change, but future ones we should be able to do faster. Things to do per test migration:
If the code does not interact with devices: