Weather forecasts response variable undefined

Are you testing this in the template editor? If yes, the error is correct, hourly is not defined because the only template in that is {{ hourly['weather.home'].forecast[0].temperature }}. The rest is yaml which is not jinja and yaml does not resolve in the template editor.