* Separate data class out of coordinator
* Further fix the imports
* Update homeassistant/components/apcupsd/coordinator.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Use `or` to make it a bit cleaner when trying to find the UPS model
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
* Use or to make it a bit cleaner when trying to find the UPS model
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
* Use plain dict instead of `OrderedDict`
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
* Replace apcaccess dependency with async version aioapcaccess
* Upgrade the dependency to the latest version (v0.4.2)
* Handle asyncio.IncompleteReadError