hi i need some help i got a little help about i guess how to poll the weather.. and the weather sensor on the home assistant page.. doesnt exist anymore they are in seperate sensors... but i having trouble getting the sensors into another template sensor... below i have like weather.peterborough_forecast but its changed to sensor.peterborough_current_condition. and well i tried googling and trying other peoples templates and trying states , stat_attr so im stuck first part is ```template:
- sensor:
today_min:
#sensor.peterborough_current_condition
#value_template: "{{ state_attr('weather.peterborough_forecast', 'forecast')[0].templow }}"
#value_template: "{{ sensor.peterborough_current_condition | default('0')}}
value_template: "{{states('sensor.peterborough_current_condition') |int}}"
#{{ this.attributes.test | default('Value when missing') }}"
friendly_name: Today's mimimal temperature
availability_template: "{{ state_attr('weather.peterborough_forecast', 'forecast') is not none }}"
today_max:
#sensor.peterborough_high_temperature
value_template: "{{ state_attr('weather.peterborough_forecast', 'forecast')[0].temperature }}"
friendly_name: Today's maximal temperature
availability_template: "{{ state_attr('weather.peterborough_forecast', 'forecast') is not none }}"
today_rain:
#sensor.peterborough_chance_of_precipitation
value_template: "{{ state_attr('weather.peterborough_forecast', 'forecast')[0].precipitation_probability }}"
friendly_name: Today's rain forecast
availability_template: "{{ state_attr('weather.peterborough_forecast', 'forecast') is not none }}"```