diff --git a/homeassistant/components/sensor/openevse.py b/homeassistant/components/sensor/openevse.py index 25b068be5ad..4d1fad49fb0 100644 --- a/homeassistant/components/sensor/openevse.py +++ b/homeassistant/components/sensor/openevse.py @@ -18,7 +18,7 @@ from homeassistant.const import CONF_MONITORED_VARIABLES from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['openevsewifi==0.2'] +REQUIREMENTS = ['openevsewifi==0.4'] SENSOR_TYPES = { 'status': ['Charging Status', None], 'charge_time': ['Charge Time Elapsed', 'minutes'], @@ -38,7 +38,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ def setup_platform(hass, config, add_devices, discovery_info=None): """Setup the OpenEVSE sensor.""" - from openevsewifi import openevsewifi + import openevsewifi host = config.get(CONF_HOST) monitored_variables = config.get(CONF_MONITORED_VARIABLES) diff --git a/requirements_all.txt b/requirements_all.txt index 5a82a3e383f..c85b365050b 100755 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -334,7 +334,7 @@ neurio==0.3.1 oauth2client==3.0.0 # homeassistant.components.sensor.openevse -openevsewifi==0.2 +openevsewifi==0.4 # homeassistant.components.switch.orvibo orvibo==1.1.1