Read webpage

Hi,

I have a webpage that only show one word

  • home
  • away
  • night

How can I read this string with a sensor?
I tried this

sensor:
  - platform: scrape
    name: Gigaset Status
    resource: http://10.0.0.15:3000/intrusion_settings
    select: ""

select is not optional, so I have to use it but I don’t know how to read the whole page.

In the end I’d like to have an “on” state for “away” and “night” and an “off” state for “home”

Any suggestions?

Use a

with curl.

Do you have an example?