mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Upgrade beautifulsoup4 to 4.6.3 (#15946)
This commit is contained in:
parent
272be7cdae
commit
2342709803
@ -19,7 +19,7 @@ from homeassistant.const import (
|
|||||||
INTERFACES = 2
|
INTERFACES = 2
|
||||||
DEFAULT_TIMEOUT = 10
|
DEFAULT_TIMEOUT = 10
|
||||||
|
|
||||||
REQUIREMENTS = ['beautifulsoup4==4.6.1']
|
REQUIREMENTS = ['beautifulsoup4==4.6.3']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -15,14 +15,16 @@ from homeassistant.util import Throttle
|
|||||||
from homeassistant.helpers.entity import Entity
|
from homeassistant.helpers.entity import Entity
|
||||||
from homeassistant.const import (CONF_DOMAIN, CONF_NAME)
|
from homeassistant.const import (CONF_DOMAIN, CONF_NAME)
|
||||||
|
|
||||||
REQUIREMENTS = ['beautifulsoup4==4.6.1']
|
REQUIREMENTS = ['beautifulsoup4==4.6.3']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
CONF_PRODUCT_ID = 'product_id'
|
|
||||||
CONF_DESCRIPTION = 'description'
|
CONF_DESCRIPTION = 'description'
|
||||||
|
CONF_PRODUCT_ID = 'product_id'
|
||||||
CONF_REGEX = 'regex'
|
CONF_REGEX = 'regex'
|
||||||
|
|
||||||
ICON = 'mdi:coin'
|
ICON = 'mdi:coin'
|
||||||
|
|
||||||
MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=120)
|
MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=120)
|
||||||
|
|
||||||
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
||||||
@ -54,8 +56,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||||||
class Geizwatch(Entity):
|
class Geizwatch(Entity):
|
||||||
"""Implementation of Geizwatch."""
|
"""Implementation of Geizwatch."""
|
||||||
|
|
||||||
def __init__(self, name, description, product_id, domain,
|
def __init__(self, name, description, product_id, domain, regex):
|
||||||
regex):
|
|
||||||
"""Initialize the sensor."""
|
"""Initialize the sensor."""
|
||||||
self._name = name
|
self._name = name
|
||||||
self.description = description
|
self.description = description
|
||||||
|
@ -19,12 +19,12 @@ from homeassistant.const import (
|
|||||||
from homeassistant.helpers.entity import Entity
|
from homeassistant.helpers.entity import Entity
|
||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
|
|
||||||
REQUIREMENTS = ['beautifulsoup4==4.6.1']
|
REQUIREMENTS = ['beautifulsoup4==4.6.3']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
CONF_SELECT = 'select'
|
|
||||||
CONF_ATTR = 'attribute'
|
CONF_ATTR = 'attribute'
|
||||||
|
CONF_SELECT = 'select'
|
||||||
|
|
||||||
DEFAULT_NAME = 'Web scrape'
|
DEFAULT_NAME = 'Web scrape'
|
||||||
DEFAULT_VERIFY_SSL = True
|
DEFAULT_VERIFY_SSL = True
|
||||||
|
@ -18,7 +18,7 @@ from homeassistant.const import (
|
|||||||
from homeassistant.helpers.entity import Entity
|
from homeassistant.helpers.entity import Entity
|
||||||
from homeassistant.util import Throttle
|
from homeassistant.util import Throttle
|
||||||
|
|
||||||
REQUIREMENTS = ['beautifulsoup4==4.6.1']
|
REQUIREMENTS = ['beautifulsoup4==4.6.3']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -163,7 +163,7 @@ batinfo==0.4.2
|
|||||||
# homeassistant.components.sensor.geizhals
|
# homeassistant.components.sensor.geizhals
|
||||||
# homeassistant.components.sensor.scrape
|
# homeassistant.components.sensor.scrape
|
||||||
# homeassistant.components.sensor.sytadin
|
# homeassistant.components.sensor.sytadin
|
||||||
beautifulsoup4==4.6.1
|
beautifulsoup4==4.6.3
|
||||||
|
|
||||||
# homeassistant.components.zha
|
# homeassistant.components.zha
|
||||||
bellows==0.6.0
|
bellows==0.6.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user