Fix dangerous-default-value warnings in canary tests (#119578)

pull/119585/head
epenet 2024-06-13 09:28:11 +02:00 committed by GitHub
parent b5d16bb3ca
commit cadb6317bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -54,12 +54,10 @@ def _patch_async_setup_entry(return_value=True):
async def init_integration(
hass: HomeAssistant,
*,
data: dict = ENTRY_CONFIG,
options: dict = ENTRY_OPTIONS,
skip_entry_setup: bool = False,
) -> MockConfigEntry:
"""Set up the Canary integration in Home Assistant."""
entry = MockConfigEntry(domain=DOMAIN, data=data, options=options)
entry = MockConfigEntry(domain=DOMAIN, data=ENTRY_CONFIG, options=ENTRY_OPTIONS)
entry.add_to_hass(hass)
if not skip_entry_setup: