Upgrade numpy to 1.15.4 (#18506)

This commit is contained in:
Fabian Affolter authored and Pascal Vizeli committed 2018-11-16 14:14:40 +01:00
1 parent 9f51deb1de
commit 30806fa362
6 files changed
+39 -41

No files matched your search

+6 -5
View File
@@ -4,21 +4,22 @@ Support for Pollen.com allergen and cold/flu sensors.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.pollen/
"""
import logging
from datetime import timedelta
import logging
from statistics import mean
import voluptuous as vol
import homeassistant.helpers.config_validation as cv
from homeassistant.components.sensor import PLATFORM_SCHEMA
from homeassistant.const import (
ATTR_ATTRIBUTION, ATTR_STATE, CONF_MONITORED_CONDITIONS)
from homeassistant.helpers import aiohttp_client
import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.entity import Entity
from homeassistant.util import Throttle
REQUIREMENTS = ['numpy==1.15.3', 'pypollencom==2.2.2']
REQUIREMENTS = ['numpy==1.15.4', 'pypollencom==2.2.2']
_LOGGER = logging.getLogger(__name__)
ATTR_ALLERGEN_AMOUNT = 'allergen_amount'
@@ -401,8 +402,8 @@ class PollenComData:
await self._get_data(
self._client.disease.extended, TYPE_DISEASE_FORECAST)
_LOGGER.debug('New data retrieved: %s', self.data)
_LOGGER.debug("New data retrieved: %s", self.data)
except InvalidZipError:
_LOGGER.error(
'Cannot retrieve data for ZIP code: %s', self._client.zip_code)
"Cannot retrieve data for ZIP code: %s", self._client.zip_code)
self.data = {}