Remove deprecated hass.components from http test (#113823)

This commit is contained in:
Jan-Philipp Benecke 2024-03-19 21:32:27 +01:00 committed by GitHub
parent 32c64855b2
commit f96bb6754b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -470,7 +470,7 @@ async def test_storing_config(
async_fire_time_changed(hass, dt_util.utcnow() + timedelta(seconds=200))
await hass.async_block_till_done()
restored = await hass.components.http.async_get_last_config()
restored = await http.async_get_last_config(hass)
restored["trusted_proxies"][0] = ip_network(restored["trusted_proxies"][0])
assert restored == http.HTTP_SCHEMA(config)