* Add binary sensor tests
* Wait for background tasks as well in test_binary_sensor_update_failure
* Fix module docstring
* Use snapshot_platform, move constants to const.py, do not use snapshot for testing state updates
* Use JSON fixtures
* Use helper for loading JSON fixtures, remove unneeded mock in setup_integration
* Move mocks to pytest markers where possible