Use snapshot assertion for Airvisual diagnostics (#98728)

This commit is contained in:
Joost Lekkerkerker 2023-08-21 11:17:43 +02:00 committed by GitHub
parent c0bb3dd6e0
commit 973928ffe9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 60 additions and 45 deletions

View file

@ -69,6 +69,7 @@ def config_entry_fixture(hass, config, config_entry_version, integration_type):
"""Define a config entry fixture."""
entry = MockConfigEntry(
domain=DOMAIN,
entry_id="3bd2acb0e4f0476d40865546d0d91921",
unique_id=async_get_geography_id(config),
data={**config, CONF_INTEGRATION_TYPE: integration_type},
options={CONF_SHOW_ON_MAP: True},