Fix typos, update TODO
All checks were successful
Build and Publish / release (push) Successful in 3m44s
All checks were successful
Build and Publish / release (push) Successful in 3m44s
This commit is contained in:
parent
4c93303f27
commit
87f0cbac01
2
TODO.md
2
TODO.md
@ -5,9 +5,9 @@
|
||||
- [ ] Add Grafana dashboard
|
||||
- [ ] Add device name field with ID/Key mappings
|
||||
- [ ] Add device type field with ID/Key mappings
|
||||
- [ ] Consolidate battery status into one metric with device label
|
||||
|
||||
## Done
|
||||
- [x] Consolidate battery status into one metric with device label
|
||||
- [x] Fix shutdown
|
||||
- [x] Add new fields from WS-2192
|
||||
- [x] Gitea CI
|
||||
|
@ -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
|
||||
// any missing fields as the two providers supported by Ambient
|
||||
// devices (awn/wunderground) produce different fields
|
||||
|
@ -56,7 +56,7 @@ func MustInitMetrics(appCtx context.Context) *WeatherMetrics {
|
||||
metric.WithDescription("Outdoor Temperature in Faherenheit"))
|
||||
wm.TempIndoorF, _ = wm.meter.Float64Gauge("weather_temp_indoor_f",
|
||||
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 %"))
|
||||
wm.HumidityIndoor, _ = wm.meter.Int64Gauge("weather_humidity_indoor",
|
||||
metric.WithDescription("Indoor Humidity %"))
|
||||
|
Loading…
Reference in New Issue
Block a user