* 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>
* Add Matter update entities for devices with OTA requestor
Matter devices which support the OTA requestor cluster can receive
updates from a OTA provider. The Home Assistant Python Matter Server
implements such an OTA provider now.
Add update entities for devices which support the OTA requestor cluster
and check for available updates. Allow the user to update the firmware.
The update progress will be read directly from the devices' OTA
requestor cluster.
* Update homeassistant/components/matter/update.py
Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
* Bump python-matter-server to 6.3.0
This includes models and commands required for device firmware updates.
* Fix tests by including the new bluetooth_enabled field
* Add update entity tests
* Fix update entity test
* Update entity picture docstring
* Add note about reasons for progress state change update
* Enable polling for update entities by default
Matter entities don't enable polling any longer. Enable polling for
update entities by default.
* Add comment about why Update entities are polled
---------
Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
* Indicate database migration in /api/core/state response
* Change API response according to review comment
* Adjust API response
* Update test
* Add test
Matter entities don't implement async_update, they get their update
from the Matter subscriptions through the WebSocket from the Matter
Server. This change disables polling for all Matter Entities by
default.