Use open-meteo for weather data outside the US

Fixes #50
This commit is contained in:
James Babcock committed 2026-10-23 14:11:40 -07:00
1 parent cb165d90d2
commit 2c819c8d0e
13 files changed
+537 -25

No files matched your search

+1
View File
@@ -97,6 +97,7 @@ test('Weather uses the portable location provider and preserves NWS parsing', as
'./location-permissions': { hasLocationPermission: () => permission },
'./settings-store': { getStringSetting: (_key, fallback) => fallback, setStringSetting() {} },
'./location': { getCurrentLocation: async () => fix },
'./reverse-geocode': { reverseGeocode: async () => null },
'../version': { USER_AGENT: 'test' },
'../util/http': { fetchWithUserAgent: async url => { requests.push(url); return { ok: true, json: async () =>
url.includes('/points/') ? { properties: { forecast: 'https://fixture/forecast', relativeLocation: { properties: { city: 'San Francisco', state: 'CA' } } } }