* Limit concurrency of startup traffic to allow for interactive usage
* Drop `retryable_req`, we already have request retrying
* Oops, `min` -> `max`
* Add a comment describing why `async_initialize` is not concurrent
* Fix existing unit tests
* Break out fetching mains state into its own function to unit test
Fix the check for Mac address in kef integration (#106072)
It might be due to an update of `getmac` dependency in some case the mac
was resolved to "00:00:00:00:00:00" instead of the anticipated `None`.
With that the original bug #47678 where a duplicated entity would be
created in case of HA is restarted while the KEF speaker is offline
came back. The PR #52902 was applied back in time to fix that issue.
Now, this change is a continuation of the previous efforts. The solution
was tested for about two months and it does address the bug with
creating duplicated entities in case of KEF speakers being offline.
* switcher: added support for device_key logic included in aioswitcher==3.4.1
* switcher: small fix
* switcher: after lint
* switcher: fix missing device_key in tests
* remove device_key function
* fix missing device_key in tests
* Add unique home ID device dispatch
* Adding fixture for new setup
* Minor refactor work
* Add check for unlinked to different homes
* If the interface returns an error
* Proper error handling
* Feedback fixes
* Comments for error in client
* Typo
* Update homeassistant/components/tado/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/tado/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update devices fix standard
* Dispatch out of loop
* Update dispatcher
* Clean up
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* zoneminder setup retry connection
Makes ZM setup be async for enabling connection retry attempts
This also requires zm-py version bump v0.5.4 as that
dependency was patched in conjunction to resolve this issue
Closes#105271
Signed-off-by: Nic Boet <nic@boet.cc>
* ruff format
Signed-off-by: Nic Boet <nic@boet.cc>
* ruff fixes
Signed-off-by: Nic Boet <nic@boet.cc>
* RequestsConnectionError
Signed-off-by: Nic Boet <nic@boet.cc>
* revert async changes
Signed-off-by: Nic Boet <nic@boet.cc>
---------
Signed-off-by: Nic Boet <nic@boet.cc>