Returning weather forecast data from weather entity without a forecast attribute

I am trying to pull the “temperature” and “templow” values from my weather entity for use in a custom card.

I have been searching for a solution to pull this data and found this:

{{ state_attr('weather.my_entity','forecast')[0]['templow'] }}

The zero is for the first (current) day in the array, but it does not return any data. Looking at my entity in dev tools it appears like there is no forecast attribute, but I am still able to pull data for forecast in the lovelace weather forecast card (and another weather card) from this entity–just not manually.

Doing some digging I saw that HA is removing the ability to have forecasts as an attribute. If this is the case for my integration, how do I query this data?

Check out the example here: Weather - Home Assistant

Thank you so much! I feel like you got me on the right track! I was able to see the array in dev tools by calling the service, but trying to set up a template sensor yields “unknown” state.

This is the code I am using for template sensors based on the example provided in the documentation:

  - trigger:
      - platform: time_pattern
        hours: /1
    action:
      - service: weather.get_forecast
        target:
          entity_id: weather.home_3
        data:
          type: daily
        response_variable: daily ###I've tried w/ and w/o 
    sensor:
      - name: High Temperature Forecast
        unique_id: high_temperature_forecast
        state: "{{ daily['weather.home_3'].forecast[0].temperature }}"
        unit_of_measurement: °F
      - name: Low Temperature Forecast
        unique_id: low_temperature_forecast
        state: "{{ daily['weather.home_3'].forecast[0].templow }}"
        unit_of_measurement: °F

Additionally, HA is giving a notification that weather.get_forecast is a depreciated service.
I just needed to add an s on the end, but still no data.

Originally I had the sensors split with the same trigger code under 2 separate triggers with the same result.

SOLVED
It appears when I was reloading template entities in dev tools the trigger was not firing on reload but instead after the specified time. So the entities were being created but not updated until the trigger.

I changed the update time to “minutes: /1” and both values populated. Then changed back to the hour trigger.

The response variable is necessary and reflected in the final configuration I used:

template:
  - trigger:
      - platform: time_pattern
        hours: '/1'
    action:
      - service: weather.get_forecasts
        target:
          entity_id: weather.my_entity
        data:
          type: daily
        response_variable: today
    sensor:
      - name: High Temperature Forecast
        unique_id: high_temperature_forecast
        state: "{{ today['weather.my_entity'].forecast[0].temperature }}"
        unit_of_measurement: °F
      - name: Low Temperature Forecast
        unique_id: low_temperature_forecast
        state: "{{ today['weather.my_entity'].forecast[0].templow }}"
        unit_of_measurement: °F

Thank you for pointing me in the right direction @tom_l !