Get values from XML file

I would like to get some values from following XML file.
URL: https://www.avalanche-warnings.eu/public/caaml/2305/de
I need the values and
This value can occur 2x but only once.

HA can parse XML. There are a few examples on how todo this:

And you can use:

To see how it translates.

Thank you for your suggestion.
I’ve tried this, but I don’t get any value.

sensor:

  - platform: rest
    resource: https://www.avalanche-warnings.eu/public/caaml/2314/de
    name: LWD
    value_template: "{{ value_json.bulletinResultsOf.dangerRatings.BulletinMeasurements.DangerRating.mainValue }}"

ObsCollection.observations.Bulletin.bulletinResultsOf.BulletinMeasurements.dangerRatings.DangerRating[0].mainValue

ObsCollection.observations.Bulletin.bulletinResultsOf.BulletinMeasurements.dangerRatings.DangerRating[1].mainValue

https://jsonpathfinder.com/

1 Like