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) {
137137 if (currentKey == " temp" ) {
138138 this ->data ->temp = value.toFloat ();
139139 }
140+ // "feels_like": 290.87, float feelsLike;
141+ if (currentKey == " feels_like" ) {
142+ this ->data ->feelsLike = value.toFloat ();
143+ }
140144 // "pressure": 1013, uint16_t pressure;
141145 if (currentKey == " pressure" ) {
142146 this ->data ->pressure = value.toInt ();
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ typedef struct OpenWeatherMapCurrentData {
4141 String iconMeteoCon;
4242 // "temp": 290.56,
4343 float temp;
44+ // feels_like 290.87
45+ float feelsLike;
4446 // "pressure": 1013,
4547 uint16_t pressure;
4648 // "humidity": 87,
You can’t perform that action at this time.
0 commit comments