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 |