Erwin Douna
d761b5ddbf
Add tests and typing to Tado config flow (#98281)
* Upgrading tests
* Code improvements and removing unused function
* Update homeassistant/components/tado/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/tado/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/tado/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update tests/components/tado/test_config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update tests/components/tado/test_config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update tests/components/tado/test_config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update tests/components/tado/test_config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update tests/components/tado/test_config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Importing Any
* Rerunning Blackformatter
* Adding fallback scenario to options flow
* Adding constants
* Adding a retry on the exceptions
* Refactoring to standard
* Update homeassistant/components/tado/config_flow.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Adding type to validate_input
* Updating test
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>