* Improve Whirlpool component code
This implements a few suggestions given in
https://github.com/home-assistant/core/pull/48346#pullrequestreview-773552670
* Add return typing
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Add reason assertion to config_flow test
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Add Whirlpool integration
* Apply suggestions from code review
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Apply suggestions from code review
* Fix lint
* Fix lint and tests
* Apply suggestions from code review
Co-authored-by: J. Nick Koston <nick@koston.org>
* Use dict lookups
* Lint
* Apply code changes from PR review
* Do real integration setup in tests
* Apply suggestions from review & fix test
* Replace get with array operator
* Add suggestions from code review
* Rename test var
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: J. Nick Koston <nick@koston.org>