Help with scrap sensor

Thanks
Probably I will change it to 2-3 minutes.

I find it interesting that Scrape Sensor inherits from the EntityComponent helper class which has scan_interval set to 15 seconds but overrides it to 30 seconds.

I wonder how many other sensors (inheriting from the same class) also override scan_interval (or don’t)?

class ScrapeSensor(Entity):

I found a station near me which seems accurate.
I can get the result in python script but when I configure the sensor the result is unknown.
Can someone spot the problem?

site: https://www.wunderground.com/dashboard/pws/IVRILISS2

#!/usr/bin/python3

from bs4 import BeautifulSoup
import requests

# Change these 2 things
URL="https://www.wunderground.com/dashboard/pws/IVRILISS2"
# This is the select line you will use in the config
SELECT="lib-display-unit"
# You may need to use a template after the fact...
INDEX=2

r = requests.get(URL)
data=r.text


soup = BeautifulSoup(data)

#print(soup)

val = soup.select(SELECT)

print("********** Output of SELECT: **********")
for v in range(len(val)):
    print(" index[{}]:  {}".format(v, val[v].text))
print("***************************************")


value = val[INDEX].text
print(value)

results

********** Output of SELECT: **********
 index[0]:  68.7 F
 index[1]:  68.7 
 index[2]:  1.8 
 index[3]:  3.4 mph
 index[4]:  34.3 F
 index[5]:  0.00 in/hr
 index[6]:  30.10 in
 index[7]:  28 %
 index[8]:  0.00 in
 index[9]:  4 
 index[10]:  34.3 F
 index[11]:  28 %
 index[12]:  1.8 
 index[13]:  
 index[14]:  3.4 mph
 index[15]:  30.10 in
 index[16]:  0.00 in/hr
 index[17]:  0.00 in
 index[18]:  4 
 index[19]:  68.4 F
 index[20]:  52.3 F
 index[21]:  56.7 F
 index[22]:  38.1 F
 index[23]:  27.1 F
 index[24]:  32.7 F
 index[25]:  52 %
 index[26]:  28 %
 index[27]:  40 %
 index[28]:  0.00 in
 index[29]:  4.0 mph
 index[30]:  0.0 mph
 index[31]:  1.0 mph
 index[32]:  5.8 mph
 index[33]:  2.0 mph
 index[34]:  30.10 in
 index[35]:  30.05 in
***************************************
1.8 
>>> 

sensor

##Stathmos 
  - platform: scrape
    resource: "https://www.wunderground.com/dashboard/pws/IVRILISS2"
    select: ".lib-display-unit"
    index: 2
    name: vrilissia wunderground

just set log level to debug and see what’s going on mate