mirror of
https://github.com/home-assistant/core
synced 2024-10-04 07:58:43 +02:00
d49a436573
* 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> |
||
---|---|---|
.. | ||
auth | ||
components | ||
generated | ||
helpers | ||
scripts | ||
util | ||
__init__.py | ||
__main__.py | ||
block_async_io.py | ||
bootstrap.py | ||
config_entries.py | ||
config.py | ||
const.py | ||
core.py | ||
data_entry_flow.py | ||
exceptions.py | ||
loader.py | ||
package_constraints.txt | ||
requirements.py | ||
runner.py | ||
setup.py | ||
strings.json |