1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Migrate HEOS discovery to manifest (#24508)

* Migrate HEOS discovery to manifest

* Fix tests
This commit is contained in:
Paulus Schoutsen
2019-06-12 16:08:08 -07:00
committed by GitHub
parent 4c328e4959
commit f54ad26630
6 changed files with 17 additions and 7 deletions

View File

@@ -27,7 +27,8 @@ async def test_async_setup_creates_entry(hass, config):
assert entry.data == {CONF_HOST: '127.0.0.1'}
async def test_async_setup_updates_entry(hass, config_entry, config):
async def test_async_setup_updates_entry(hass, config_entry, config,
controller):
"""Test component setup updates entry from config."""
config[DOMAIN][CONF_HOST] = '127.0.0.2'
config_entry.add_to_hass(hass)