Use config_entries.SOURCE_* constants (#49631)
This commit is contained in:
parent
34a588d1ba
commit
153d6e891e
103 changed files with 723 additions and 488 deletions
|
@ -49,7 +49,7 @@ async def test_hassio(hass):
|
|||
"""Test that Hass.io can discover this integration."""
|
||||
result = await hass.config_entries.flow.async_init(
|
||||
DOMAIN,
|
||||
context={"source": "hassio"},
|
||||
context={"source": config_entries.SOURCE_HASSIO},
|
||||
data={"addon": "Almond add-on", "host": "almond-addon", "port": "1234"},
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue