Fix configuring Flo instances (#90990)

* Update config_flow.py

Used constant string for consistency

* Update config_flow.py

Removed code for location ID and name the integration using the username

* Update manifest.json

Updated codeowners

* Update config_flow.py

* Update config_flow.py

Formatted with black

* Update manifest.json

Updated codeowners

* Update test_config_flow.py

Updated test
This commit is contained in:
Anthony Mattas
2023-04-12 20:35:33 -04:00
committed by Paulus Schoutsen
parent e792350be6
commit fa29aea68e
2 changed files with 9 additions and 12 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ async def test_form(hass: HomeAssistant, aioclient_mock_fixture) -> None:
)
assert result2["type"] == "create_entry"
assert result2["title"] == "Home"
assert result2["title"] == TEST_USER_ID
assert result2["data"] == {"username": TEST_USER_ID, "password": TEST_PASSWORD}
await hass.async_block_till_done()
assert len(mock_setup_entry.mock_calls) == 1