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

Use collectAsState for SensorDao.getAllFlow #2423

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

NotWoods
Copy link
Contributor

@NotWoods NotWoods commented Apr 3, 2022

Summary

Cleans up some Flow interactions with SensorDao by using a helper to automatically convert it into a state. Also updates a few functions to be non-blocking

@JBassett JBassett merged commit 6c64b31 into home-assistant:master Apr 6, 2022
@NotWoods NotWoods deleted the suspend-sensor-dao branch April 7, 2022 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants