File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -137,6 +137,10 @@ void OpenWeatherMapCurrent::value(String value) {
137
137
if (currentKey == " temp" ) {
138
138
this ->data ->temp = value.toFloat ();
139
139
}
140
+ // "feels_like": 290.87, float feelsLike;
141
+ if (currentKey == " feels_like" ) {
142
+ this ->data ->feelsLike = value.toFloat ();
143
+ }
140
144
// "pressure": 1013, uint16_t pressure;
141
145
if (currentKey == " pressure" ) {
142
146
this ->data ->pressure = value.toInt ();
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ typedef struct OpenWeatherMapCurrentData {
41
41
String iconMeteoCon;
42
42
// "temp": 290.56,
43
43
float temp;
44
+ // feels_like 290.87
45
+ float feelsLike;
44
46
// "pressure": 1013,
45
47
uint16_t pressure;
46
48
// "humidity": 87,
You can’t perform that action at this time.
0 commit comments