* Refactor NextBus integration to use new API
This removes the `messages`, `directions`, and `attribution` attributes
from the sensor. Those may be added back in the future with additional
refactoring.
Some existing sensors may be broken today because of deprecated Agency
names. This patch will not migrate them as the migration path is
ambiguous. Setting up again should work though.
* Move result indexing outside of try/except
* Remigrate device_registry created_at/modified_at
Nightly current does not boot up because the device registry
will have KeyError: created_at if the previous nightly was
installed.
* reduce
* split migration per discord comments
* Improve typing of init tests
* Clean up gateway test
* Validate deconz device registry entry
* Rename gateway to hub
* Snake case BRIDGEID to BRIDGE_ID
* Don't automatically add config entry to hass
* Improve RTSP fixture typing
* Improve typing of config entry factory and remove unnecessary use of it
* Remove redundant fixture in config flow tests
* Parametrize config flow error test
* functional programming tweak
* doctweak
* typing hint
* rename symbol
* Switch to DataUpdateCoordinator
* move from async_setup to EvoBroker
* tweaks - add v1 back in
* tidy up
* tidy up docstring
* lint
* remove redundant logging
* rename symbol
* split back to inject authenticator clas
* rename symbols
* rename symbol
* Update homeassistant/components/evohome/__init__.py
Co-authored-by: Joakim Plate <elupus@ecce.se>
* allow exception to pass through
* allow re-authentication with diff credentials
* lint
* undo unrelated change
* use async_refresh instead of async_config_entry_first_refresh
* assign None instead of empty dict as Falsey value
* use class attrs instead of type hints
* speed up mypy hint
* speed up mypy check
* small tidy up
* small tidy up
---------
Co-authored-by: Joakim Plate <elupus@ecce.se>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* squeezebox moves common elements into __init__ to allow for server sensors and device, improves player device
* Update with feedback from PR
* squeezebox Formating fixes, Logging Fixes, remove nasty stored callback
* squeezebox Formating fixes, Logging Fixes, remove nasty stored callback
* squeezebox refactor to use own ConfigEntry and Data
* squeezebox remove own data class
* Update homeassistant/components/squeezebox/__init__.py
Correct typo
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/squeezebox/media_player.py
Stronger typing on entry setup SqueezeboxConfigEntry
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* squeezebox add SqueezeboxConfigEntry
* squeezebox fix mypy type errors
* squeezebox use right Callable
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>