Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repair issues with HA 2023.6.0 #228

Merged
merged 2 commits into from
Jun 9, 2023
Merged

Repair issues with HA 2023.6.0 #228

merged 2 commits into from
Jun 9, 2023

Conversation

goobags
Copy link
Contributor

@goobags goobags commented Jun 8, 2023

Changes as identified in issue #227 which fixes issues with Home Assistant 2023.6.0. This is my first PR so not sure exactly how this process works!

Changes as identified in issue claytonjn#227
@8ctorres
Copy link

8ctorres commented Jun 8, 2023

You have a duplicate line of code. Line 378 is unnecesary, and could potentially cause problems since it skips the verification (next line is an if that checks that the object is not a NoneType).

@enkama
Copy link

enkama commented Jun 8, 2023

Yup. Just remove the line 378 you have added.

await asyncio.wait(tasks)

Also keep in if tasks and dont remove it like I have done.
The if tasks check is necessary to prevent calling asyncio.wait with an empty list, which would raise a ValueError.

Removed additional line of code
@claytonjn
Copy link
Owner

Will fix Hassfest validation when I version bump for release.

@claytonjn claytonjn merged commit fefc0ed into claytonjn:dev Jun 9, 2023
@goobags goobags deleted the patch-1 branch June 10, 2023 01:54
@goobags
Copy link
Contributor Author

goobags commented Jun 10, 2023

Thanks everyone, seems as though I made it more difficult than it ought to be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants