We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0310d33 commit c8d4161Copy full SHA for c8d4161
src/OpenWeatherMapCurrent.cpp
@@ -137,6 +137,10 @@ void OpenWeatherMapCurrent::value(String value) {
137
if (currentKey == "temp") {
138
this->data->temp = value.toFloat();
139
}
140
+ // "feels_like": 290.87, float feelsLike;
141
+ if (currentKey == "feels_like") {
142
+ this->data->feelsLike = value.toFloat();
143
+ }
144
// "pressure": 1013, uint16_t pressure;
145
if (currentKey == "pressure") {
146
this->data->pressure = value.toInt();
src/OpenWeatherMapCurrent.h
@@ -41,6 +41,8 @@ typedef struct OpenWeatherMapCurrentData {
41
String iconMeteoCon;
42
// "temp": 290.56,
43
float temp;
44
+ // feels_like 290.87
45
+ float feelsLike;
46
// "pressure": 1013,
47
uint16_t pressure;
48
// "humidity": 87,
0 commit comments