ThaNerd
(Turbo Tronix)
1
I know there is a method called scrape that allows to get info from html tags but is there a way to get all the tags in one sensor?
I have the following structure in my HTML code:
I want to get all the fields within the class=“v-card__text” as seperate attributes to the sensor.
ThaNerd
(Turbo Tronix)
2
I’m trying to get this data:
I coded as:
- platform: scrape
name: Worker 004 Temp
resource: http://192.168.1.xxx/#/
select: "#app > div > main > div > div > div:nth-child(1) > div.col-md-8.col-lg-8.col-xl-8.col-12 > div > div.v-card__text > div > div:nth-child(7) > span.float-right.item-value.item-width > span"
But it doesn’t work…