A "I quit smoking" sensor

A little bit offtopic, but…
You can scrape the data, I do this to extract the local gasprice for the nearest Shell Express station.

  - platform: scrape
    resource: https://www.shellexpress.nl/nl_nl/station/se-nieuwerkerk-aan-den-ijssel
    name: Shell Express
    select: ".price-actual"
    value_template: '{{ value.split(" ")[0] }}'
    unit_of_measurement: "EUR/L"

image

3 Likes