Require firmware version 3.1.1 for airgradient (#118744)

This commit is contained in:
Joost Lekkerkerker 2024-06-03 21:08:28 +02:00 committed by GitHub
parent dd1dd4c6a3
commit 2a92f78453
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 68 additions and 3 deletions

View file

@ -62,7 +62,7 @@ def mock_new_airgradient_client(
def mock_cloud_airgradient_client(
mock_airgradient_client: AsyncMock,
) -> Generator[AsyncMock, None, None]:
"""Mock a new AirGradient client."""
"""Mock a cloud AirGradient client."""
mock_airgradient_client.get_config.return_value = Config.from_json(
load_fixture("get_config_cloud.json", DOMAIN)
)