I'm using a template sensor to display values from an XML file located on the HA server in www folder. This has been working for several years until 2025.7. Now I just get "unknown_sensor" instead of the template sensor value. I posted the issue in home-assistant/core on github but so far no helpful responses. Any ideas?
# Davis Weather Station main data
- platform: rest
name: Station Data
resource: http://localhost:8123/local/XML_tags.xml
json_attributes_path: "$.Davis-Weather-Tags"
scan_interval: 60
value_template: "OK"
json_attributes:
- "outsideTemp"
- "outsideHumidity"
- "barometer"
- "windSpeed"
- "windDirection"
- "windDir"
- "windAvg10"
- "windHigh10"
- "dailyRain"
- "ForecastStr"
- platform: template
sensors:
outside_temp_davis:
unique_id: davis_outside_temperature
friendly_name: Davis Outside Temp
value_template: "{{ state_attr('sensor.station_data', 'outsideTemp') }}"
unit_of_measurement: "°F"
device_class: temperature```