add lightning sensor
This commit is contained in:
@ -40,6 +40,14 @@ type WeatherUpdate struct {
|
||||
WindChillF *float64
|
||||
// Extra Temp+Humidity Sensors
|
||||
TempHumiditySensors []*TempHumiditySensor
|
||||
// Lightning Data
|
||||
*LightningData
|
||||
}
|
||||
|
||||
type LightningData struct {
|
||||
LightningDay *int // Count of detections
|
||||
LightningDistance *int // Last detection distance [kilometers]
|
||||
LightningTime *int // Last detection time
|
||||
}
|
||||
|
||||
type TempHumiditySensor struct {
|
||||
|
Reference in New Issue
Block a user