Added daytime property
This commit is contained in:
@@ -47,6 +47,7 @@ app.get('/api/current', async (req, res) => {
|
||||
|
||||
// Merge forecast summary fields — sensor readings take priority
|
||||
const merged = {
|
||||
time: new Date(),
|
||||
...(summary ? {
|
||||
precipitation_chance: summary.precipitation_chance,
|
||||
temperature_max: summary.temperature_max,
|
||||
|
||||
Reference in New Issue
Block a user