I’m having issues with a scrape sensor returning a state value of variable in a web page. I think I have the configuration.yaml file entered correctly.
scrape:
- resource: http://10.0.180.100:8080/control_app.html
sensor:
name: Screen state
select: “body”
attribute: data-state
keep getting “unknown” state returned. I can curl the URL from SHH so it’s contacting the page ok I think?