Migrate homematicip_cloud to use async_update_entry to alter config entries (#110308)
This commit is contained in:
parent
303bb99da0
commit
55022767ac
1 changed files with 3 additions and 1 deletions
|
@ -209,7 +209,9 @@ async def test_hap_with_name(
|
|||
entity_name = f"{home_name} Treppe CH"
|
||||
device_model = "HmIP-BSL"
|
||||
|
||||
hmip_config_entry.data = {**hmip_config_entry.data, "name": home_name}
|
||||
hass.config_entries.async_update_entry(
|
||||
hmip_config_entry, data={**hmip_config_entry.data, "name": home_name}
|
||||
)
|
||||
mock_hap = await HomeFactory(
|
||||
hass, mock_connection, hmip_config_entry
|
||||
).async_get_mock_hap(test_devices=["Treppe"])
|
||||
|
|
Loading…
Add table
Reference in a new issue