diff --git a/homeassistant/components/sensor/hydroquebec.py b/homeassistant/components/sensor/hydroquebec.py index c96909e5bc1..45a7b812039 100644 --- a/homeassistant/components/sensor/hydroquebec.py +++ b/homeassistant/components/sensor/hydroquebec.py @@ -21,7 +21,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyhydroquebec==1.1.0'] +REQUIREMENTS = ['pyhydroquebec==1.2.0'] _LOGGER = logging.getLogger(__name__) @@ -36,6 +36,8 @@ REQUESTS_TIMEOUT = 15 MIN_TIME_BETWEEN_UPDATES = timedelta(hours=1) SENSOR_TYPES = { + 'balance': + ['Balance', PRICE, 'mdi:square-inc-cash'], 'period_total_bill': ['Current period bill', PRICE, 'mdi:square-inc-cash'], 'period_length': diff --git a/requirements_all.txt b/requirements_all.txt index a3449ecb424..adadfdcf576 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -568,7 +568,7 @@ pyhik==0.1.2 pyhomematic==0.1.28 # homeassistant.components.sensor.hydroquebec -pyhydroquebec==1.1.0 +pyhydroquebec==1.2.0 # homeassistant.components.device_tracker.icloud pyicloud==0.9.1