Skip to content

support multiday for local provider; make each day's data midnight to midnight, so it's consistent with all other providers; make indentations consistent#1

Merged
smeisens merged 1 commit into
hybrid-2.0from
claude/debug-local-setup-kxsAT
Jan 28, 2026
Merged

support multiday for local provider; make each day's data midnight to midnight, so it's consistent with all other providers; make indentations consistent#1
smeisens merged 1 commit into
hybrid-2.0from
claude/debug-local-setup-kxsAT

Conversation

@smeisens
Copy link
Copy Markdown
Owner

No description provided.

- Fix solarRadiation NaN bug: undefined * 24 / 1000 produced NaN
- Fix precip NaN bug: undefined - lastRainCount produced NaN
- Fix falsy check for temp=0: 0 || undefined incorrectly returned undefined
- Make solar and wind sensors optional in validation
- Update Observation interface to allow undefined values

Many PWS don't have solar radiation or wind sensors, so the validation
now only requires temp, humidity, and precip as mandatory fields.

https://claude.ai/code/session_01AyytHmyNaRfEtfMw5RUod8
@smeisens smeisens changed the base branch from master to hybrid-2.0 January 28, 2026 06:03
@smeisens smeisens merged commit 6ff6ffe into hybrid-2.0 Jan 28, 2026
4 of 6 checks passed
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.

2 participants