Open the Docs.
Take the simplest example:
scrape:
- resource: https://www.home-assistant.io
sensor:
- name: Release
select: ".current-version h1"
value_template: '{{ value.split(":")[1] }}'
I bet it is not working since same code was there long time ago & the HA site was updated.
And yes, the sensor is “unknown” after HA reboot (needed to create the sensor).
Let’s check what is the current DOM path:
Let’s try with “.site-title .release-date”.
For this time let’s create sensor in UI:
Same “unknown error”. No messages in Log.
(tried with/without “Verify SSL certificate”)
I tried to use the stock Scrape integration 1-2 years ago, it usually gave erratic results even for a static text. No idea, may be depends on a site.