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

Add support for retain flag on sensor values #153

Merged
merged 4 commits into from
Feb 1, 2024
Merged

Conversation

neilenns
Copy link
Owner

@neilenns neilenns commented Feb 1, 2024

Fixes #152

  • Explicitly set Last rain sensor to have a retain flag
  • Add an environment variable so all sensors can have the retain flag set

src/mqttManager.ts Outdated Show resolved Hide resolved
@neilenns neilenns merged commit b811ba1 into main Feb 1, 2024
3 checks passed
@neilenns neilenns deleted the neilenns/issue152 branch February 1, 2024 18:04
@neilenns
Copy link
Owner Author

neilenns commented Feb 1, 2024

New release pushed that adds the retain flag to lastRain, plus an environment variable that can be set to enable retain for all sensors.

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.

Last Rain (& possibly other calculated sensors) unknown
1 participant