* Fix access errors to mac address
printer.raw() is the only attribute accessed and will always be present.
However depending on the printer, the mac address might be missing.
* Update homeassistant/components/syncthru/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/syncthru/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/syncthru/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick@koston.org>
* Store printer instances in hass.data
* Add SyncThru device registry support
* Use config entry id as hass.data key
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Use printer hostname as device registry name
* Handle non-syncthru device more gracefully on entry setup
* Use device identifiers rather than connections to link entities with devices
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Consolidate
* Fix tests
* Update imports
* Fix import
* Use importlib because integration and package share name
* Fix more tests
* Update .coveragerc and CODEOWNERS