Open
Conversation
According to the latest Home Assistant documentation, we should be using async_forward_entry_setups (plural) instead of async_forward_entry_setup (singular). The documentation specifically states: "Instead, await hass.config_entries.async_forward_entry_setups as it can load multiple platforms at once and is more efficient since it does not require a separate import executor job for each platform." We're now calling async_forward_entry_setups once with the entire list of components (KUNA_COMPONENTS) instead of in a loop
Fixed error caused by the stream monitoring's trying to pass width and height parameters to the async_camera_image() method, but it looks like HA no longer accept these parameters.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I updated the init to match the current instructions/examples, replacing async_forward_entry_setup async_forward_entry_setups - power to the plural https://developers.home-assistant.io/blog/2024/06/12/async_forward_entry_setups/
camera.py's async_camera_image now passes empty width, height and byte size https://developers.home-assistant.io/docs/core/entity/camera/#methods to match parameter count. I also added some logging to figure this out, which I left in.
Tested with 2025.7.1
Thanks for your work creating this!