Compare commits

...

2 Commits

Author SHA1 Message Date
fa0a9f4ddc Fix wind speed mapping for awn
All checks were successful
Build and Publish / release (push) Successful in 2m46s
2025-01-08 14:24:56 -05:00
689790fe86 Update TODO 2025-01-08 14:24:46 -05:00
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
- [ ] Add device name field with ID/Key mappings - [ ] Add device name field with ID/Key mappings
- [ ] Add device type field with ID/Key mappings - [ ] Add device type field with ID/Key mappings
- [ ] Move EVERYTHING to pointers to support nil - [ ] Move EVERYTHING to pointers to support nil
- [ ] Add proxy to upstream support
## Done ## Done
- [x] Consolidate battery status into one metric with device label - [x] Consolidate battery status into one metric with device label

View File

@ -43,7 +43,7 @@ func MapAwnUpdate(awnUpdate *AmbientWeatherUpdate) *weather.WeatherUpdate {
DateUTC: &updateTime, DateUTC: &updateTime,
TempOutdoorF: awnUpdate.TempF, TempOutdoorF: awnUpdate.TempF,
HumidityOudoor: awnUpdate.Humidity, HumidityOudoor: awnUpdate.Humidity,
WindSpeedMPH: awnUpdate.WindGustMPH, WindSpeedMPH: awnUpdate.WindSpeedMPH,
WindGustMPH: awnUpdate.WindGustMPH, WindGustMPH: awnUpdate.WindGustMPH,
MaxDailyGust: awnUpdate.MaxDailyGust, MaxDailyGust: awnUpdate.MaxDailyGust,
WindDir: awnUpdate.WindDir, WindDir: awnUpdate.WindDir,