Add late PR improvements to La Marzocco (#108162)

* add Martin's suggestions

* use password description

* fix for reauth + test

* fix invalid_auth test

* Update homeassistant/components/lamarzocco/config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
Josef Zweck 2024-01-16 19:35:50 +01:00 committed by GitHub
parent b24222bd1d
commit 95ed1ada50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 37 additions and 17 deletions

View file

@ -62,7 +62,7 @@ async def test_invalid_auth(
assert len(flows) == 1
flow = flows[0]
assert flow.get("step_id") == "user"
assert flow.get("step_id") == "reauth_confirm"
assert flow.get("handler") == DOMAIN
assert "context" in flow