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

Report state of room-assistant node via MQTT after a broker reconnect #218

Closed
georgeinva2004 opened this issue Jun 8, 2020 · 2 comments
Closed

Comments

@georgeinva2004
Copy link

Is your feature request related to a problem? Please describe.
The state of room-assistant nodes is lost after a MQTT broker restart

Describe the solution you'd like
After a MQTT broker restart, have room assistant nodes detect the reconnect event and report their current state to the broker. That would ensure that all subscribers get to a known state after a broker restart.

Describe alternatives you've considered
Polling against the current REST APIs
Issue a Room Assistant service restart request via Ansible

Additional context
N/A

github-actions bot pushed a commit that referenced this issue Aug 16, 2020
# [2.9.0-beta.1](v2.8.2...v2.9.0-beta.1) (2020-08-16)

### Features

* **bluetooth-classic:** add option for preserving sensor state ([7cd2afe](7cd2afe)), closes [#156](#156)
* **bluetooth-classic:** add scan time limit option ([ae40009](ae40009)), closes [#179](#179)
* **home-assistant:** refresh states after broker re-connect ([85064e6](85064e6)), closes [#218](#218)
@github-actions
Copy link

🎉 This issue has been resolved in version 2.9.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@mKeRix mKeRix closed this as completed in 85064e6 Aug 23, 2020
github-actions bot pushed a commit that referenced this issue Aug 23, 2020
# [2.9.0](v2.8.2...v2.9.0) (2020-08-23)

### Bug Fixes

* **bluetooth-classic:** exclude old measurements from preservation ([10b0e21](10b0e21))

### Features

* **bluetooth-classic:** add option for preserving sensor state ([7cd2afe](7cd2afe)), closes [#156](#156)
* **bluetooth-classic:** add scan time limit option ([ae40009](ae40009)), closes [#179](#179)
* **home-assistant:** refresh states after broker re-connect ([85064e6](85064e6)), closes [#218](#218)
@github-actions
Copy link

🎉 This issue has been resolved in version 2.9.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

No branches or pull requests

1 participant