mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
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:
parent
189023821b
commit
25cb7c652b
@ -13,7 +13,7 @@ from homeassistant.const import (
|
|||||||
CONF_USERNAME, CONF_PASSWORD, ATTR_FRIENDLY_NAME, ATTR_ARMED)
|
CONF_USERNAME, CONF_PASSWORD, ATTR_FRIENDLY_NAME, ATTR_ARMED)
|
||||||
from homeassistant.helpers import discovery
|
from homeassistant.helpers import discovery
|
||||||
|
|
||||||
REQUIREMENTS = ['blinkpy==0.5.2']
|
REQUIREMENTS = ['blinkpy==0.6.0']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ class BlinkSensor(Entity):
|
|||||||
if self._type == 'temperature':
|
if self._type == 'temperature':
|
||||||
self._state = camera.temperature
|
self._state = camera.temperature
|
||||||
elif self._type == 'battery':
|
elif self._type == 'battery':
|
||||||
self._state = camera.battery
|
self._state = camera.battery_string
|
||||||
elif self._type == 'notifications':
|
elif self._type == 'notifications':
|
||||||
self._state = camera.notifications
|
self._state = camera.notifications
|
||||||
else:
|
else:
|
||||||
|
@ -90,7 +90,7 @@ beautifulsoup4==4.6.0
|
|||||||
bellows==0.2.7
|
bellows==0.2.7
|
||||||
|
|
||||||
# homeassistant.components.blink
|
# homeassistant.components.blink
|
||||||
blinkpy==0.5.2
|
blinkpy==0.6.0
|
||||||
|
|
||||||
# homeassistant.components.light.blinksticklight
|
# homeassistant.components.light.blinksticklight
|
||||||
blinkstick==1.1.8
|
blinkstick==1.1.8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user