Ensure homematicip_cloud tests add config entry before updating it (#110429)

This commit is contained in:
J. Nick Koston 2024-02-12 15:57:48 -06:00 committed by GitHub
parent 4e76e6b2b0
commit d9c581e2c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -209,6 +209,7 @@ async def test_hap_with_name(
entity_name = f"{home_name} Treppe CH"
device_model = "HmIP-BSL"
hmip_config_entry.add_to_hass(hass)
hass.config_entries.async_update_entry(
hmip_config_entry, data={**hmip_config_entry.data, "name": home_name}
)