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

Alarm state on startup instead of on first refresh #1291

Merged
merged 1 commit into from May 15, 2021

Conversation

blm126
Copy link
Contributor

@blm126 blm126 commented May 13, 2021

Fixes #1289 by forcing all entity state to be gathered during network discovery discovery.

Previously, each platform forced a refresh on the coordinator. This was slow and error prone. Now, when the network is discovered full entity state is discovered as well.

@alandtse
Copy link
Owner

Can you confirmed you ran black on this? I did a recent commit and noticed it was not formatted with black.

… network discovery.

Previously, each platform forced a refresh on the coordinator. This was slow and error prone. Now, when the network is discovered full entity state is discovered as well.
@blm126
Copy link
Contributor Author

blm126 commented May 14, 2021

Running black manually found a change to make. PR updated. I have been running pre-commit run --all-files before sending PRs. I assumed that would do black for me, but apparently not? I'll make sure to start doing black manually.

@blm126
Copy link
Contributor Author

blm126 commented May 14, 2021

Those failed checks look like a github problem?

@alandtse
Copy link
Owner

Running black manually found a change to make. PR updated. I have been running pre-commit run --all-files before sending PRs. I assumed that would do black for me, but apparently not? I'll make sure to start doing black manually.

Yah I probably need to fix the precommit. My editor does it for me so never noticed.

@alandtse alandtse merged commit 9804dd3 into alandtse:dev May 15, 2021
alandtse added a commit that referenced this pull request May 15, 2021
Previously, each platform forced a refresh on the coordinator. This was slow and error prone. Now, when the network is discovered full entity state is discovered as well.
Fixes #1289

Co-authored-by: Brady Mulhollem <blm126@gmail.com>
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.

Alexa Guard missing the current status after HA restart
2 participants