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

Throttle discovery #4

Open
wants to merge 6 commits into
base: ha-discovery
Choose a base branch
from

Conversation

jshatch
Copy link

@jshatch jshatch commented Jan 14, 2024

Since I was running into issues with logging and the frequency of the discovery topic updates I set it to only update once per minute. Technically it could probably be set to only update the first time the loop is run, but in case the broker resets or somehow loses the topic this will refresh it.

Set 'mbar': 'atmospheric_pressure'
Set 'inHg': 'atmospheric_pressure'
Set 'inch_per_hour': 'precipitation_intensity'
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.

1 participant