I’m also suspicious of the name. I did an ord() on each of the characters in the name as pasted above in case there was some weird Greek or Cyrillic character in there, but nothing jumped out.
@brinkgit — please try the following, and importantly, don’t use HA autocompletions when typing:
Assuming that gives you a list of items each starting with “<template”, count which item your sensor is starting from 0, and try this with your number in place of the X:
That is bizarre. I’m glad it’s fixed for you but I’d love to know what caused that. I even set up my own sensor, by pasting in your definition in your first post and just changing the URL:
As I had mentioned in my previous post, there was something wrong with the sensor’s name because this: {{ states.sensor.weer_buiten_trend_luchtdruk.state }}
produced the same error as when the sensor doesn’t exist.
I agree with Troon that it’s bizarre because Home Assistant creates entity names that adhere to a very strict format (restricted to basic ASCII alphanumeric characters and underscores). One can theorize what might have gone wrong but now there’s no way to confirm it.