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

Fix ESPHome discovered when already exists #24187

Merged
merged 2 commits into from May 30, 2019

Conversation

OttoWinter
Copy link
Member

Description:

Fix ESPHome devices marked discovered even when they already exist.

In order to accomplish that, the esphome integration had to be restructured a bit - the RuntimeEntryData class had to be moved out of init.py so that config_flow.py can access it.

Also contains a small fix for the ESPHome startup behavior: ESPHome will no longer delay HA startup by ~20s if a device cannot be contacted.

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist

@balloob balloob added this to the 0.94.0 milestone May 30, 2019
@balloob balloob merged commit 1ce2d97 into home-assistant:dev May 30, 2019
balloob pushed a commit that referenced this pull request May 30, 2019
* Fix ESPHome discovered when already exists

* Update .coveragerc
@balloob balloob mentioned this pull request Jun 4, 2019
alandtse pushed a commit to alandtse/home-assistant that referenced this pull request Oct 12, 2019
* Fix ESPHome discovered when already exists

* Update .coveragerc
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.

None yet

3 participants