Scrape sensor issues

Hi there. I’m using the scrape function in my configuration.yaml and it works flawlessly, however when I try and add a “unit of measurement” it disappears from my entities. All I’m trying to do is add unit of measurement so I can get a graph not a bar history.

What am I doing wrong here?

Here’s the sample from my yaml file.

scrape:

  • resource: Mobil - 217 Victoria St W - Alliston, ON - GasBuddy.com
    scan_interval: 3600
    sensor:
    • name: Mobile Alliston
      unique_id: mobile.alliston

    unit_of_measurement: “$”

    icon: mdi:gas-station
    select: "#root > div > div.Page-module__content___196kn.Page-module__padded___3hQ0U > div > div > div:nth-child(2) > div.grid__column___nhz7X.grid__desktop10___2T18R > div:nth-child(1) > div.grid__column___nhz7X.grid__desktop8___38Y4U > div:nth-child(3) > div > div.GasPriceCollection-module__collectionContainer___29Ngz > div:nth-child(2) > div:nth-child(1) > span"
    

Scrape - Home Assistant.
It should fit there the same level as name and unique_id according to that.

There are other ways to add that as well.
It looks like it has a unique id, so that means you may be able to add a unit of measurement using the frontend gui tools. If that fails you can use customize.