Files
meshcore-bot/modules
agessaman f4b7df2671 refactor(wx): turn _add_period_details into a table-driven loop
Six copies of 'if value: piece = ...; append if it fits' become one loop over (value, template) in the same order (humidity, dew point, visibility, precipitation, gusts, pressure). Observation values still win and the forecast-text extractors still run only when the observation lacks a value; the precipitation probability still comes from the text alone. Six discarded 'current_weather_length + ...' expressions go. Goldens unchanged; mutating the order, a template, the fallback or the length check fails them.
2026-10-01 16:03:11 -07:00
..