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

refactor: scene update callbacks #108

Merged
merged 2 commits into from
Aug 27, 2024
Merged

Conversation

hugobloem
Copy link
Owner

This pull request refactors the scene update callbacks to use the new event data format following the deprecation of async_track_state_change. The update_callback method now accepts an event object instead of individual parameters. Additionally, the async_setup_entry function has been updated to use async_forward_entry_setups instead of individually forwarding each platform.

@hugobloem
Copy link
Owner Author

Solves #105

@hugobloem hugobloem merged commit 214ec5b into main Aug 27, 2024
5 checks passed
@hugobloem hugobloem deleted the remove-deprecated-functions branch August 27, 2024 16:06
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.

1 participant