unfortunately, i fail with a very simple rest sensor that is supposed to retrieve a simple html text. Although I have already reloaded the REST-entities several times, neither the new sensors nor any error message appear.
What am I doing wrong?
Thank you very much for the tip! In fact, that was exactly the error (State max length is 255 characters.) Is there perhaps another solution for this? I would like to process the texts somehow.
Right, that should probably be the best alternative. Thank you!
Edit: it works like:
- resource: https://opendata.dwd.de/weather/text_forecasts/html/VHDL50_DWSG_LATEST_html
scan_interval: 300
sensor:
- unique_id: dwd-vorhersage-heute
name: DWD-Vorhersage heute
select: "*"
value_template: |
{{ value }}
But: But unfortunately, the German umlauts are recognised incorrectly. Does anyone have an idea how to fix this? Böen → B�en
And: i can only retrieve a page with multiscrape that contains <255 characters. For the other pages I get a rest error for multiscrape: max. 255 characters.