Remove lxml dependency (#2374)
This commit is contained in:
parent
d13cc227cc
commit
254b1c46ac
2 changed files with 2 additions and 5 deletions
|
@ -16,7 +16,7 @@ import homeassistant.helpers.config_validation as cv
|
|||
from homeassistant.helpers.entity import Entity
|
||||
from homeassistant.util import Throttle
|
||||
|
||||
REQUIREMENTS = ['beautifulsoup4==4.4.1', 'lxml==3.6.0']
|
||||
REQUIREMENTS = ['beautifulsoup4==4.4.1']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
_RESOURCE = 'http://www.hydrodaten.admin.ch/en/'
|
||||
|
@ -148,7 +148,7 @@ class HydrologicalData(object):
|
|||
|
||||
try:
|
||||
tables = BeautifulSoup(response.content,
|
||||
'lxml').findChildren('table')
|
||||
'html.parser').findChildren('table')
|
||||
rows = tables[0].findChildren(['th', 'tr'])
|
||||
|
||||
details = []
|
||||
|
|
|
@ -180,9 +180,6 @@ lightify==1.0.3
|
|||
# homeassistant.components.light.limitlessled
|
||||
limitlessled==1.0.0
|
||||
|
||||
# homeassistant.components.sensor.swiss_hydrological_data
|
||||
lxml==3.6.0
|
||||
|
||||
# homeassistant.components.notify.message_bird
|
||||
messagebird==1.2.0
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue