* Add definitions for grouping media players
See https://github.com/home-assistant/architecture/issues/364
* Fix Google Assistant tests
* Define sync versions of async_join_players/async_unjoin
* Don't use async API in synchronous test methods
* Fix tests and make pylint happy
The method name `unjoin` is used by another component, so let's use
`unjoin_player` instead.
* Fix emulated_hue tests
The new media player entity in the `demo` component requires a tiny
adjustment in the emulated_hue tests.
* Use "target:" in service description
* Also use "name:" in service descriptions
Co-authored-by: Franck Nijhof <git@frenck.dev>
* Only update CecDevice state when there is new data
* Replace CecDevice with CecEntity
* Support for losing and reconnecting to pycec TcpAdapter
* Register listener in async_added_to_hass
* Rename hdmi_cec watchdog
* Only update CecDevice state when there is new data
* Fix flake8 docstring error
* Fix linter error
* Bump pycec version to 0.5.0
* Bump pycec version to 0.5.1
* Fixe merge mistake
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Delay ZHA group updates to ensure all members are updated first
After turning off a group, when the first device reports "off", the
other devices may still be "on". If HA processes the group state update
quickly enough, the group will see that some devices are on, so the
state of the group will revert back to "on", and then "off" when the
remaining devices all report "off". That would cause the UI toggle to go
back and forward quickly, and automations that trigger with "state: on"
to fire when the user turns the group off.
This PR fixes that by delaying the group state update, giving time for
all the devices to report their states first.
* Fix zha group tests
* Reorder sleeping.
* Update tests/components/zha/common.py
Co-authored-by: Alexei Chetroi <lexoid@gmail.com>
* Bump withings_api to 2.3.1 (fixes#47329)
* Fix NotifyAppli calls to be compatible with withings_api 2.3.1
* Fix errors with withings_api 2.2+ using pydantic
* Bump withings_api to 2.3.2