Blink version bump (#7571)

Bumped blink version to support automatic reauthorization when tokens expire. Changed the battery sensor call to a string version so that the battery reports back "Low" or "OK" rather than a cryptic integer
This commit is contained in:
Kevin Fronczak 2017-05-12 23:30:07 -04:00 committed by Paulus Schoutsen
parent 189023821b
commit 25cb7c652b
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ from homeassistant.const import (
CONF_USERNAME, CONF_PASSWORD, ATTR_FRIENDLY_NAME, ATTR_ARMED)
from homeassistant.helpers import discovery
REQUIREMENTS = ['blinkpy==0.5.2']
REQUIREMENTS = ['blinkpy==0.6.0']
_LOGGER = logging.getLogger(__name__)

View File

@ -77,7 +77,7 @@ class BlinkSensor(Entity):
if self._type == 'temperature':
self._state = camera.temperature
elif self._type == 'battery':
self._state = camera.battery
self._state = camera.battery_string
elif self._type == 'notifications':
self._state = camera.notifications
else:

View File

@ -90,7 +90,7 @@ beautifulsoup4==4.6.0
bellows==0.2.7
# homeassistant.components.blink
blinkpy==0.5.2
blinkpy==0.6.0
# homeassistant.components.light.blinksticklight
blinkstick==1.1.8