Fix typos, update TODO
All checks were successful
Build and Publish / release (push) Successful in 3m44s

This commit is contained in:
Ryan McGuire 2025-01-07 11:28:34 -05:00
parent 4c93303f27
commit 87f0cbac01
3 changed files with 3 additions and 3 deletions

View File

@ -5,9 +5,9 @@
- [ ] Add Grafana dashboard - [ ] Add Grafana dashboard
- [ ] 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
- [ ] Consolidate battery status into one metric with device label
## Done ## Done
- [x] Consolidate battery status into one metric with device label
- [x] Fix shutdown - [x] Fix shutdown
- [x] Add new fields from WS-2192 - [x] Add new fields from WS-2192
- [x] Gitea CI - [x] Gitea CI

View File

@ -57,7 +57,7 @@ func (aw *AmbientWeather) GetWundergroundHandlerFunc(appCtx context.Context) fun
} }
} }
// Takes an HTTP requests and convers it to a // Takes an HTTP requests and converts it to a
// stable type. Enrich is called on the type to complete // stable type. Enrich is called on the type to complete
// any missing fields as the two providers supported by Ambient // any missing fields as the two providers supported by Ambient
// devices (awn/wunderground) produce different fields // devices (awn/wunderground) produce different fields

View File

@ -56,7 +56,7 @@ func MustInitMetrics(appCtx context.Context) *WeatherMetrics {
metric.WithDescription("Outdoor Temperature in Faherenheit")) metric.WithDescription("Outdoor Temperature in Faherenheit"))
wm.TempIndoorF, _ = wm.meter.Float64Gauge("weather_temp_indoor_f", wm.TempIndoorF, _ = wm.meter.Float64Gauge("weather_temp_indoor_f",
metric.WithDescription("Indoor Temperature in Faherenheit")) metric.WithDescription("Indoor Temperature in Faherenheit"))
wm.HumidityOudoor, _ = wm.meter.Int64Gauge("weather_humidity_oudoor", wm.HumidityOudoor, _ = wm.meter.Int64Gauge("weather_humidity_outdoor",
metric.WithDescription("Outdoor Humidity %")) metric.WithDescription("Outdoor Humidity %"))
wm.HumidityIndoor, _ = wm.meter.Int64Gauge("weather_humidity_indoor", wm.HumidityIndoor, _ = wm.meter.Int64Gauge("weather_humidity_indoor",
metric.WithDescription("Indoor Humidity %")) metric.WithDescription("Indoor Humidity %"))