core/homeassistant/components/monzo
Jake Martin a3b60cb054
Add Monzo config reauth (#117726)
* Add reauth config flow

* Trigger reauth on Monzo AuthorisaionExpiredError

* Add missing abort strings

* Use FlowResultType enum

* One extra == swapped for is

* Use helper in reauth

* Patch correct function in reauth test

* Remove unecessary **

* Swap patch and calls check for access token checks

* Do reauth trigger test without patch

* Remove unnecessary str() on user_id - always str anyway

* Update tests/components/monzo/test_config_flow.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-06-03 13:18:15 +02:00
..
__init__.py Extract Monzo coordinator in separate module (#117034) 2024-05-17 12:40:19 +02:00
api.py
application_credentials.py
config_flow.py Add Monzo config reauth (#117726) 2024-06-03 13:18:15 +02:00
const.py
coordinator.py Add Monzo config reauth (#117726) 2024-06-03 13:18:15 +02:00
entity.py Extract Monzo coordinator in separate module (#117034) 2024-05-17 12:40:19 +02:00
manifest.json Bump monzopy to 1.2.0 (#117730) 2024-05-19 15:37:25 +02:00
sensor.py Extract Monzo coordinator in separate module (#117034) 2024-05-17 12:40:19 +02:00
strings.json Add Monzo config reauth (#117726) 2024-06-03 13:18:15 +02:00