Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
Matt Zimmerman
8c52dfa1c5
Implement reauth for smarttub ( #47628 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-21 21:28:24 -10:00
Matt Zimmerman
115fe26642
Add smarttub sensor platform and state sensor ( #46775 )
2021-02-20 12:25:02 -10:00
Matt Zimmerman
da51e23514
Address late smarttub review ( #46703 )
...
* _config -> config
* remove unused string
* remove entity tests
* replace unit tests with integration tests using the core
* refactor polling to use asyncio.gather
* remove redundant component init
* remove gather in favor of simple loop
* use async_fire_time_changed instead of async_update_entity
* use hass.config_entries.async_setup instead of calling smarttub.async_setup_entry directly
* replace stray smarttub.async_setup_entry call
* async_unload_entry -> hass.config_entries.async_unload
* remove broken test
2021-02-19 01:18:02 +01:00
Matt Zimmerman
58499946ed
Add SmartTub integration ( #37775 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-16 19:37:56 -10:00