Trådfri component to use new zeroconf discovery (#24041)

* Move tradfri component to use new zeroconf discovery

* Will this work?

* Remove prints

* Correct order in generated zeroconf

* Update test_init.py

* Update test_init.py

* Update test_init.py

* Update test_init.py
This commit is contained in:
Robert Svensson 2019-05-29 20:19:50 +02:00 committed by Paulus Schoutsen
parent 4b256f3466
commit 3fef9a93cf
7 changed files with 13 additions and 9 deletions

View file

@ -99,7 +99,7 @@ async def test_discovery_connection(hass, mock_auth, mock_entry_setup):
})
flow = await hass.config_entries.flow.async_init(
'tradfri', context={'source': 'discovery'}, data={
'tradfri', context={'source': 'zeroconf'}, data={
'host': '123.123.123.123'
})
@ -249,7 +249,7 @@ async def test_discovery_duplicate_aborted(hass):
).add_to_hass(hass)
flow = await hass.config_entries.flow.async_init(
'tradfri', context={'source': 'discovery'}, data={
'tradfri', context={'source': 'zeroconf'}, data={
'host': 'some-host'
})