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(mqtt): Handle observations with underscores #139

Merged
merged 1 commit into from
Mar 25, 2023

Commits on Mar 25, 2023

  1. fix(mqtt): Handle observations with underscores

    Some (extended) weewx observations already include an underscore in
    their name, which means that simply splitting on `_` didn't work as
    expected for at least the following observations:
    
    - `lightning_distance`
    - `lightning_disturber_count`
    - `lightning_energy`
    - `lightning_noise_count`
    - `lightning_strike_count`
    - `pm10_0`
    - `pm1_0`
    - `pm2_5`
    nifoc committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    c459316 View commit details
    Browse the repository at this point in the history