diff --git a/homeassistant/components/alarm_control_panel/simplisafe.py b/homeassistant/components/alarm_control_panel/simplisafe.py index 5eb2e9fe7d3..7f4e4dfa756 100644 --- a/homeassistant/components/alarm_control_panel/simplisafe.py +++ b/homeassistant/components/alarm_control_panel/simplisafe.py @@ -16,7 +16,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['simplisafe-python==1.0.4'] +REQUIREMENTS = ['simplisafe-python==1.0.5'] _LOGGER = logging.getLogger(__name__) @@ -89,11 +89,11 @@ class SimpliSafeAlarm(alarm.AlarmControlPanel): def state(self): """Return the state of the device.""" status = self.simplisafe.state() - if status == 'Off': + if status == 'off': state = STATE_ALARM_DISARMED - elif status == 'Home': + elif status == 'home': state = STATE_ALARM_ARMED_HOME - elif status == 'Away': + elif status == 'away': state = STATE_ALARM_ARMED_AWAY else: state = STATE_UNKNOWN diff --git a/requirements_all.txt b/requirements_all.txt index e71358e91b3..cf6325e6572 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -884,7 +884,7 @@ sharp_aquos_rc==0.3.2 shodan==1.7.4 # homeassistant.components.alarm_control_panel.simplisafe -simplisafe-python==1.0.4 +simplisafe-python==1.0.5 # homeassistant.components.notify.slack slacker==0.9.60