Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions homeassistant/components/sensor/ripple.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from homeassistant.const import (CONF_NAME, ATTR_ATTRIBUTION)
from homeassistant.helpers.entity import Entity

REQUIREMENTS = ['python-ripple-api==0.0.2']
REQUIREMENTS = ['python-ripple-api==0.0.3']

CONF_ADDRESS = 'address'
CONF_ATTRIBUTION = "Data provided by ripple.com"
Expand Down Expand Up @@ -71,4 +71,6 @@ def device_state_attributes(self):
def update(self):
"""Get the latest state of the sensor."""
from pyripple import get_balance
self._state = get_balance(self.address)
balance = get_balance(self.address)
if balance is not None:
self._state = balance
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ python-nmap==0.6.1
python-pushover==0.3

# homeassistant.components.sensor.ripple
python-ripple-api==0.0.2
python-ripple-api==0.0.3

# homeassistant.components.media_player.roku
python-roku==3.1.3
Expand Down