mirror of
https://github.com/home-assistant/core.git
synced 2026-09-03 12:02:16 +01:00
Fix Flexit climate test and align WiiM async-upnp-client pin (#180211)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Paulus Schoutsen
Claude Opus 5
parent
ed14d7c2ad
commit
54a3ecad48
@@ -9,6 +9,6 @@
|
||||
"iot_class": "local_push",
|
||||
"loggers": ["wiim.sdk", "async_upnp_client"],
|
||||
"quality_scale": "gold",
|
||||
"requirements": ["async-upnp-client==0.47.1", "wiim==0.1.6"],
|
||||
"requirements": ["async-upnp-client==0.48.1", "wiim==0.1.6"],
|
||||
"zeroconf": ["_linkplay._tcp.local."]
|
||||
}
|
||||
|
||||
@@ -90,14 +90,7 @@ async def test_climate_entity(
|
||||
mock_config_entry: MockConfigEntry,
|
||||
) -> None:
|
||||
"""Test climate entity setup and state."""
|
||||
mock_config_entry.add_to_hass(hass)
|
||||
device_registry.async_get_or_create(
|
||||
config_entry_id=mock_config_entry.entry_id,
|
||||
identifiers={("flexit", mock_config_entry.entry_id)},
|
||||
configuration_url="http://1.1.1.1",
|
||||
)
|
||||
assert await hass.config_entries.async_setup(mock_config_entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
await _setup_integration(hass, mock_config_entry)
|
||||
|
||||
await snapshot_platform(hass, entity_registry, snapshot, mock_config_entry.entry_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user