1433 Commits
Author SHA1 Message Date
Adam Gessaman 52a5f1c9bd Merge pull request #369 from agessaman/dev
Release v1.2.0
v1.2.0
2026-11-14 10:06:59 -08:00
agessaman e78927d729 docs(changelog): unspace em dashes and use American spelling in 1.2.0
Same cleanup the 1.1.0 section got before its release. Shipped release sections are left alone.
2026-11-14 09:58:34 -08:00
agessaman c8117ac980 docs(upgrade): cover the changes merged after the 1.2.0 cut
Add the single-instance lock, a terminal close now stopping a bot started from it, the systemd unit's --wait-for-lock (and that install-service.sh only replaces an existing unit with --upgrade), the heartbeat-based Docker healthcheck, and the {path_names} placeholder.
2026-11-14 09:30:41 -08:00
agessaman 034962a3dc fix(web-viewer): keep the Windows parent check type-clean on Linux
CI type-checks on Linux, where the ctypes stubs have no get_last_error, so mypy failed on the parent watcher's access-denied check. The check now sits behind sys.platform == "win32", which mypy understands and which is always true where the function runs.
2026-11-14 09:30:41 -08:00
agessaman 1706b20785 Merge remote-tracking branch 'origin/main' into dev
Bring main's commits into dev ahead of the 1.2.0 release PR so it merges cleanly: the waev.app broker docs (#357) and the frontend-lint dependency bump (#308). The only conflict was CHANGELOG.md. The waev.app entry main had under Unreleased now ships in 1.2.0, and since 1.2.0 was never tagged, the entries merged after the cut (the {path_names} placeholder, the instance-lock and viewer fixes, the heartbeat healthcheck) move into its section too, dated 2026-11-14.
2026-11-14 09:28:45 -08:00
agessaman 9852b22c75 Merge branch 'feat/path-names-placeholder' into dev 2026-11-14 09:04:02 -08:00
agessaman 0809618d3a feat(templates): add {path_names} placeholder for short repeater names
{path_names} renders a message's route as compact repeater names, BlackHls▸KalamaSum▸KelsoG3 instead of a1b2,c3d4,e5f6 (3 hops), for [Test_Command] response_format and [Keywords] replies. A hop gets a name only on a 2- or 3-byte path, and only when its prefix has a single recent repeater or a collision resolves with at least path_names_min_confidence (default 0.9). Every other hop keeps its hex prefix, so no hop shows a guessed name. A direct message renders Direct, like {path}.

Names come from the same candidate query and selection as the web viewer's path decode; the candidate query is now candidate_repeaters() in path_inference so both share it. modules/name_shortener.py compacts each name (ASCII fold, emoji and filler dropped, callsigns dropped when another word names the node, CamelCase, place-word abbreviations, then vowels and letters) and packs the route into path_names_max_bytes, eliding hops after the first when names alone can't shrink enough. The lookup only runs when the template contains {path_names}.
2026-11-14 08:45:08 -08:00
agessaman 8845a3f316 feat(docker): report event-loop liveness in the container healthcheck
The healthcheck only proved PID 1 existed, so a wedged event loop stayed healthy. The bot now touches <db_path>.heartbeat every 30 seconds from its event loop, starting before the radio wait, and python3 -m modules.healthcheck fails once the file is more than two minutes old. An offline radio does not make the container unhealthy, since the bot reconnects on its own. The check reads the config path from MESHCORE_BOT_CONFIG, which the add-on image sets to /config/config.ini.
2026-11-14 08:45:02 -08:00
agessaman 6ce2e597bd fix(service): wait for the instance lock instead of exiting under systemd
A service that found another instance running (a manual run during maintenance) exited three times inside the start limit and stayed failed after the other instance stopped. The new --wait-for-lock flag retries the single-instance lock every 5 seconds instead of exiting 1, announcing the wait once, and resolves db_path on every attempt so an edit during the wait is honored. The systemd unit and the Debian package's unit start the bot with it.
2026-11-14 08:45:02 -08:00
agessaman 07ab4e34d5 fix(web-viewer): exit when the bot that launched the viewer is gone
A bot killed with kill -9 on a manual run left its web viewer holding the port, and the next start could not bind it. The bot now passes its PID as --exit-with-parent and the viewer exits once that process is gone. A viewer started on its own is unchanged. A bot-launched viewer skips the Werkzeug reloader in debug mode, since the reloader would make the server a grandchild of the bot and the parent check would watch the wrong process.
2026-11-14 08:45:02 -08:00
agessaman 13159d8555 test(core): wait for the probe child before closing its terminal
The terminal-close probe slept a second and then closed the pty, so a slow child could be hung up before it installed its SIGHUP handler, and on Linux the child's read raises EIO instead of returning EOF. The child now writes a ready byte that the parent waits for, the read tolerates OSError, and the parent reaps or kills the child on every exit path so a hang never outlives the test.
2026-11-14 08:45:02 -08:00
agessaman a791b223c7 fix(core): stop on SIGTERM and terminal close when the terminal is gone
The shutdown handler printed before setting its flags. Once the bot's terminal had closed, that print raised OSError and swallowed SIGTERM and SIGINT, leaving a bot that only kill -9 could stop. The flags are now set first and the print is guarded.

SIGHUP was always a config reload, so a bot started from a terminal kept running unattended after the terminal closed. It now shuts down when SIGHUP arrives and the controlling terminal it started with is gone. SIGHUP stays a reload under systemd, launchd, Docker, and nohup, and when sent by hand while the terminal is open.

macOS still opens /dev/tty after a hangup, so the terminal check also does an empty write. I could only verify it on macOS.
2026-11-13 06:47:44 -08:00
agessaman 317b1a2a56 fix(core): refuse to start a second instance on the same database
Two bots on one radio evict each other from single-client companion servers such as openhop, which closes the older connection when a new one arrives. Each instance then reconnects and evicts the other in an endless loop.

Startup now takes an advisory lock on <db_path>.lock beside the bot database and exits 1 with the holder's PID when it is already held. The OS releases the lock on any exit, so a killed bot leaves nothing stale. The lock is taken before a pending restore is applied, so a second launch cannot replace the database under a running bot. A lock file that cannot be created is only a warning.
2026-11-13 05:58:47 -08:00
agessaman 8c5e16412d docs(scheduler): add a format reference for scheduled messages
One section with the whole entry format, a table of what each key field accepts, the value options, the message escapes and mesh-count placeholders (previously only in config.ini.example), and the forms the bot rejects with what to write instead. Also drop the paragraph that argued against an exact fortnight, which predates week=, and stop saying keys go straight to CronTrigger.from_crontab.
2026-11-11 22:07:33 -08:00
agessaman 5032bc2709 docs(release): prepare v1.2.0
Add the v1.1.0 to v1.2.0 upgrade notes, leading with the change that makes the Dashboard, Contacts, Mesh Graph and Multibyte pages public when a password is set, and listing the defaults that change what goes on air. Refresh BUGS.md to v1.2.0 and TODO.md's coverage figures from the v1.2.0 run (67%), dropping trace_runner and wx_command from the low-coverage list.
2026-11-11 21:42:46 -08:00
agessaman a47b8cba22 chore(release): bump version to 1.2.0
Cut the [1.2.0] changelog section from Unreleased, and bump pyproject, the Home Assistant add-on version (its image is tagged from the release), and the version examples in the docs and build-deb usage.
2026-11-11 21:28:56 -08:00
Adam Gessaman 863100ef37 Merge pull request #260 from agessaman/feat/flexible-scheduling
feat(scheduler): add positional day-of-month and date bounds
2026-11-11 21:28:30 -08:00
Adam Gessaman 857fd3012a Merge pull request #363 from agessaman/feat/repeater-offline-reporting
feat(repeater_watch): report watched repeaters that go offline
2026-11-11 21:24:48 -08:00
agessaman 615d9c77f2 Merge remote-tracking branch 'origin/dev' into feat/flexible-scheduling
# Conflicts:
#	CHANGELOG.md
2026-11-11 21:17:00 -08:00
agessaman 0c070bb281 Merge remote-tracking branch 'origin/dev' into feat/repeater-offline-reporting
# Conflicts:
#	modules/web_viewer/templates/base.html
2026-11-11 21:16:14 -08:00
Adam Gessaman adfbe20e85 Merge pull request #367 from agessaman/feat/home-assistant-addon
feat: Home Assistant add-on
2026-11-11 21:15:11 -08:00
agessaman f91cdd427c chore(.gitignore): add memory subagents directory to ignore list 2026-11-10 22:27:42 -08:00
agessaman 1c75249695 fix(bridges): match hashtag channels and log unmapped ones at info
Discord compared mapping names to the channel name exactly, ignoring case, so bridge.test never matched the #test channel. Telegram already ignored a leading #. Both bridges now share one matcher: an exact match ignoring case wins, otherwise a leading # is ignored on both sides.

A message from a channel with no mapping was dropped with only a debug log, so a mapping that never matched went unnoticed. The first message from each unmapped channel is now logged at info with the configured mappings; repeats stay at debug.
2026-11-10 19:19:36 +00:00
agessaman 3dc43ec6ef fix(web_viewer): accept hashtag channels in bridge mappings
The Plugins page rejected a Discord or Telegram bridge mapping for a channel such as #test with "cannot start with # or ;". The check ran on the key as typed, before the bridge. prefix was added, though the option actually written (bridge.#test) is valid. Typing the prefix by hand to get around it wrote bridge.bridge.#test, which never matched.

The leading # / ; check now runs on the full option name, in the page and on the server, so it still applies to sections with no prefix. A prefix typed by hand is dropped before saving.
2026-11-10 19:19:36 +00:00
agessaman c31679980e fix(web_viewer): don't queue a radio connect while startup is retrying
While startup waits for the radio, the Radio page shows Connect, but nothing processes the queued operation until the scheduler starts, and it then tore down the link startup had just opened. The connect endpoint now answers 409 while bot.initializing is set, and start() marks any radio connect or disconnect still pending at that point as interrupted.

Also drops the DOCS.md note about /addon_configs on older Supervisors (they don't accept app_config at all) and updates the README's reconnect_max_retries comment to cover startup.
2026-11-10 00:32:38 -08:00
agessaman 7f1d9ad946 fix(core): keep retrying the radio at startup instead of exiting
A test under a real Home Assistant Supervisor showed the watchdog allows 10 restarts per 30 minutes. The bot exited about a second after a refused connection, so a radio that wasn't ready after a reboot used all 10 in about 11 seconds and left the add-on down for half an hour. A failed first connect now falls back to the existing reconnect loop and its [Connection] settings; the bot exits 1 only when reconnect_max_retries runs out, and a shutdown while waiting exits 0.

Also from that test:
- The manifest maps app_config, the name Supervisor 2026.11 uses; addon_config logged a legacy warning. The CI linter accepts both.
- The docs say to turn on Show in sidebar, which the Supervisor leaves off.
- The second start_viewer() call logs at debug instead of warning on every start.
2026-11-09 23:48:38 -08:00
agessaman 4426da4a30 feat(ha_addon): add the add-on icon and logos
The add-on store icon and logo reuse the web viewer favicon's robot and palette, with a mesh of three nodes for an antenna. dark_logo.png carries a light wordmark for Home Assistant's dark theme.
2026-11-09 22:16:37 -08:00
agessaman fc8a7a3751 refactor(ha_addon): simplify the add-on and managed-key code
- managed_keys owns the env var and file name, so the shared module no longer imports the add-on entrypoint; is_managed takes the loaded set instead of re-reading the file.
- One write_text_atomic() in ini_writer, used by update_ini_values and the add-on.
- as_bool uses configparser's BOOLEAN_STATES.
- Drop the app-level ManagedKeyError handler (every writer already handles it) and fold require_auth's early returns.
- Tests read config.yaml with PyYAML (added to the test extra) instead of a hand-written parser, and share setup helpers.
2026-11-09 21:39:26 -08:00
agessaman 01f45732a8 fix(managed_keys): match sections case-insensitively like the INI writer
update_ini_values matches sections ignoring case, but the guard compared them exactly, so a write to [web_viewer] port slipped past a managed [Web_Viewer] port and still rewrote the real key. Both now share one section normalization.
2026-11-09 21:21:47 -08:00
agessaman 0719e20073 fix(web_viewer): refuse direct access in ingress mode without a password
With ha_ingress on and no web_viewer_password, the viewer used to fall back to open mode for anything that wasn't the Supervisor, so other add-ons on the internal network, or the LAN once the port was published, got full admin access. One _auth_enforced() decision now drives both the HTTP hook and Socket.IO connect: ingress requests stay signed in, and other requests need a password login or get a 403 that says to set one. With ha_ingress off, nothing changes.
2026-11-09 20:46:56 -08:00
agessaman 2575e86a03 fix(ha_addon): close review gaps in ingress, backups, and exit status
- mypy is clean again (the CI typecheck job was red on new lines).
- The overlay's config backup goes to /data/backups/local, so it no longer overwrites the base config backup taken in the same second.
- One ha_ingress_enabled() helper; a malformed ha_ingress value counts as off instead of disabling the whole web viewer.
- An exception that escapes the bot (e.g. a BLE adapter error) now exits 1 too.
- The web manifest's icon paths are relative, so they resolve with or without a path prefix.
- The root-relative URL scan also catches .href/.src/.action assignments, EventSource, Worker, Audio, Image and io().
2026-11-09 20:38:11 -08:00
agessaman 966fa1726a feat(web_viewer): keep Home Assistant managed settings read-only
The add-on rewrites the keys it owns on every start, so editing them in the viewer would be silently undone. modules/managed_keys.py loads the list the add-on exports (MESHCORE_HA_MANAGED_KEYS) and guards writes in one place: ConfigIniStore.write_sections refuses to change or delete a managed key, and the viewer's other config.ini writers now go through that store instead of calling update_ini_values directly. The plugins page shows managed fields as disabled with "Managed by Home Assistant". With the variable unset, nothing changes.
2026-11-09 20:12:30 -08:00
agessaman 12e9db0fdd docs(ha_addon): make the add-on's DOCS.md the single source
The mkdocs page now covers install and points at the add-on documentation instead of repeating it. DOCS.md gains an options table and matches what the entrypoint does. Changelog entries for ha_ingress and the startup exit status.
2026-11-09 20:07:31 -08:00
agessaman 3177134cf8 fix(core): exit 1 when the radio is unreachable at startup
A failed startup connection used to end the process with status 0, which launchd (KeepAlive SuccessfulExit=false) and the Home Assistant watchdog both read as an intentional stop, so neither restarted the bot. start() now returns whether the bot ran, and the entrypoint exits 1 when it didn't. Shutdown by signal still exits 0.
2026-11-09 20:04:40 -08:00
agessaman cf4147d48e ci: build the add-on image in the base image job
The add-on build reuses the job's checkout, QEMU, buildx and login, shares one tag spec with the base image, and builds FROM the base image's sha- tag that the same job just pushed, so the polling step is gone.
2026-11-09 19:58:31 -08:00
agessaman c017337a44 fix(ha_addon): seed, escape, and win over the local overlay
- Ship config.ini.example in the image so a fresh install can seed config.ini.
- Double % in written values; the bot reads config.ini with interpolation, so a password like abc%xyz used to break every read.
- Delete add-on-managed keys from <local_dir_path>/config.ini, which the bot merges over the base file and would otherwise override them.
- Move local_dir_path to /config/local so custom plugins and translations are reachable from File Editor or Samba.
- Rename the ble_address option to ble_device_name to match the config key.
2026-11-09 19:56:20 -08:00
agessaman 9ff8dcc7f2 feat: add a Home Assistant add-on
Adds repository.yaml and homeassistant/meshcore_bot/ so the repo can be added to the Home Assistant add-on store. The add-on runs a 64-bit image built FROM the release image (Dockerfile.ha). On start, modules/ha_addon.py seeds config.ini, applies add-on options and fixed paths from one mapping table, records which keys Home Assistant owns, and execs the bot. Unset options leave config.ini alone.

CI builds and pushes the add-on image for amd64 and arm64 after the base image and lints the manifest. update_ini_values gains backup_dir so add-on backups land under /data.

Refs #366
2026-11-09 19:26:13 -08:00
agessaman 8fdcbe916f feat(web_viewer): serve the viewer behind Home Assistant ingress
New [Web_Viewer] ha_ingress flag. When it's on, requests from the Supervisor (172.30.32.2) carrying X-Ingress-Path get SCRIPT_NAME set from that header, count as authenticated (Home Assistant already logged the user in), and Socket.IO accepts the public Home Assistant origin. Templates use url_for, and browser code goes through window.appUrl and the existing fetch wrapper, so every link, redirect, API call and socket honors the prefix. With the flag off, nothing changes.

A regression test fails on new root-relative URL literals that bypass those helpers.
2026-11-09 19:26:13 -08:00
Adam Gessaman 6dada83421 Merge pull request #365 from agessaman/fix/duplicate-channel-commands
fix(radio_link): handle each channel command once after reconnect
2026-11-08 11:41:45 -08:00
agessaman 8ce1e06580 fix(radio_link): handle each channel command once after reconnect
Overlapping reconnects subscribed to the same radio twice, so every channel command was handled twice until restart. Relinks now take one lock, a connection finishes setup only on the instance it opened, and handler setup is idempotent per instance. A channel or direct message repeated within 5 seconds is dropped.

Fixes #364.
2026-11-08 11:10:43 -08:00
agessaman b36c18d1fc style(repeater_watch): polish the page for phones and dark mode
Watched repeaters and recent outages stack into one block per row below 576px, so the quiet meter and Remove stay on screen instead of behind a sideways scroll. Watched rows sort worst first (offline, quiet, never heard, heard), the picker's Watching state carries a check and doesn't wrap, the recovery checkbox sits on its own row, and places read "Issaquah, WA" as in the picker.

Input-group addons (hours, min, search icons) now take the dark theme everywhere; only Contacts styled them, so Region Warnings, Greeter and Plugins showed light boxes in dark mode.
2026-11-05 18:11:06 -08:00
agessaman e71c1a71b3 feat(repeater_watch): report watched repeaters that go offline
Adds [Repeater_Watch] and a Settings → Repeater Watch page (#353). A watched repeater counts as offline once it has gone offline_after_hours with no advert and no relayed traffic; relaying is matched by public key, or by a 2- or 3-byte prefix no other known repeater shares, and never by one byte. One notice goes out when it goes offline and one when it is heard again, to channels, DMs, Discord and Telegram.

The bot only judges silence it was listening for: the clock starts at startup, reconnect or radio recovery (a quick restart keeps it), and checks are skipped while the radio is down or the bot has heard no node for two hours. State and recent outages persist in bot_metadata so a restart doesn't repeat a notice. Settings are read on every tick, so saving the page applies without a restart.
2026-11-05 18:11:06 -08:00
agessaman 9773107084 fix(web_viewer): tidy the schedule editor's new controls
The date range and Weeks fields now sit behind a "Date range and weeks" toggle right under the timing controls, with a summary of any limits beside it, so the common path is shorter on a phone and a limited schedule still shows its limits when collapsed. The section opens for entries that have limits, and once when Weeks is combined with one day a month so the warning is seen.

The "no 5th one" hint only shows for a 5th weekday and names it. In the table, cron fields and dates no longer break at a hyphen, an open-ended range reads "from" or "until", the message column keeps a readable width on phones, and the page header wraps instead of squeezing the button. The monthly warning is only in the Weeks description while it shows, and the toggle reads out the summary.
2026-11-04 21:18:34 -08:00
agessaman 7af1f46fdd fix(scheduler): close the gaps the second review round found
- An end date closes at the last second before the next local day begins, worked out in UTC. "23:59:59" did not exist on a day whose DST change skips the last hour (America/Nuuk, 2027-03-27), and APScheduler moved it past midnight, letting the schedule fire on the following date.
- APScheduler reads "last" and the ordinals as prefixes, so "last--fri", "lastfri" or "last-" quietly meant the last day of the month. Anything starting with an ordinal must now be "last" or a full positional day. A positional day combined with a day-of-week ("1st-tue * mon") never matches and is rejected.
- A schedule with no future run is invalid in the editor and skipped with a reason at startup, not only when it has date bounds.
- An option with nothing after it ("start=2027-01-01") gets its own error, and a channel that would read as week= is refused like start= and end=.
- The editor resets every builder control on each open, so a new entry no longer inherits the last edited entry's days or monthly choice, and it recognizes the several-times-a-day and every-N modes when reopening an entry. The preview runs the save-time entry checks once channel and message are filled in. With one day a month, a note explains that Weeks skips most months.
- The every-other-week docs example no longer repeats an INI key, a weather-service link follows the moved section, and the changelog says plainly that a key written as last-fri changes meaning: it used to run on the month's last day.
2026-11-04 19:41:50 -08:00
agessaman a0a77a7ed2 feat(scheduler): add week=, a monthly builder mode and stricter parsing
Every-other-week schedules: week= on the value takes an APScheduler ISO week-number expression (week=*/2, week=2-53/2), for a strict fortnight that 1st-tue,3rd-tue cannot give. The schedule editor gains a Weeks setting, a "One day a month" mode (Nth or last weekday, or the Nth or last day) and opens an existing entry in whichever mode reproduces it exactly, falling back to Advanced. Invalid schedules now say why, in the editor and in the startup log. Scheduled messages move to their own docs page.

Review fixes:
- A positional day-of-month item must stand alone between commas. APScheduler silently dropped anything after one, so 1st-tue-3rd-tue and last-fri/2 saved and then fired only on the first match.
- A bound is a whole token ended by whitespace with no ":" in it, so a channel such as start=ops stays a channel, and a keyword with no usable value (start= Public:Hi, start =2027-01-01) is an error rather than a channel name.
- Dates must be exactly YYYY-MM-DD. date.fromisoformat also takes 20270101 and 2027-W01-1 on newer Pythons, which APScheduler then failed on with an error that blamed the cron key.
- The preview applies the same window check as saving, so an end before the start is invalid in both.
- An entry must read back as written: the editor refuses a channel that would parse as a bound and an unscoped message starting "#name:", which was read back as a scope.
- Legacy HHMM with a bad bound reports invalid instead of raising; the scheduler logs why a value was rejected; the create/update response includes start, end and week.
2026-11-04 19:41:49 -08:00
agessaman 081ec7c0a5 Merge branch 'dev' into feat/flexible-scheduling
Brings the branch up to date with dev. Conflicts in CHANGELOG.md and the schedule preview route in modules/web_viewer/app.py, resolved by keeping dev's version and adding the start/end arguments.
2026-11-04 19:41:49 -08:00
agessaman 2be738c604 feat(web_viewer): make the Multibyte page public
Multibyte rollout shows per-node hash sizes and traffic counts taken from adverts and paths, the same mesh-visible data the public Mesh Graph serves. With web_viewer_password set it was admin-only and missing from anonymous navigation. The page, /api/multibyte-rollout and the nav link are now public whenever the multibyte monitor is on.

From #350.
2026-11-04 18:05:55 -08:00
Adam Gessaman 716531a558 Merge pull request #359 from Treehouse-00/feat/status-packet-counters
feat(packet_capture): include the radio's packet counters in status stats
2026-11-04 17:58:48 -08:00
dependabot[bot] 21328ef21d build(npm): bump the frontend-lint group with 3 updates (#308)
Bumps the frontend-lint group with 3 updates: [eslint](https://github.com/eslint/eslint), [eslint-plugin-html](https://github.com/BenoitZugmeyer/eslint-plugin-html) and [globals](https://github.com/sindresorhus/globals).


Updates `eslint` from 10.9.1 to 10.11.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.9.1...v10.11.0)

Updates `eslint-plugin-html` from 8.2.0 to 8.2.1
- [Changelog](https://github.com/BenoitZugmeyer/eslint-plugin-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/BenoitZugmeyer/eslint-plugin-html/compare/v8.2.0...v8.2.1)

Updates `globals` from 17.11.0 to 17.12.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v17.11.0...v17.12.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 10.11.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: frontend-lint
- dependency-name: eslint-plugin-html
  dependency-version: 8.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: frontend-lint
- dependency-name: globals
  dependency-version: 17.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: frontend-lint
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-04 17:58:25 -08:00
agessaman 3ecdf1fb8d fix(mqtt_weather): don't render 0°C as -0.0
Rounding a reading just below freezing (31.95°F) gives -0.0, which printed as "-0.0°C".
2026-11-04 16:46:27 -08:00