Lupupy version push to 0.0.17 - will now transmitted state_alarm_triggered (#19008)

* added state_alarm_triggered transmission; pushed lupupy version

* added state_alarm_triggered transmission; pushed lupupy version

* added state_alarm_triggered transmission; pushed lupupy version

* added state_alarm_triggered transmission; pushed lupupy version
pull/19030/head
majuss 2018-12-04 21:04:39 +00:00 committed by Fabian Affolter
parent 38b09b1613
commit a8b5cc833d
3 changed files with 6 additions and 3 deletions

View File

@ -12,7 +12,8 @@ from homeassistant.components.lupusec import DOMAIN as LUPUSEC_DOMAIN
from homeassistant.components.lupusec import LupusecDevice
from homeassistant.const import (STATE_ALARM_ARMED_AWAY,
STATE_ALARM_ARMED_HOME,
STATE_ALARM_DISARMED)
STATE_ALARM_DISARMED,
STATE_ALARM_TRIGGERED)
DEPENDENCIES = ['lupusec']
@ -50,6 +51,8 @@ class LupusecAlarm(LupusecDevice, AlarmControlPanel):
state = STATE_ALARM_ARMED_AWAY
elif self._device.is_home:
state = STATE_ALARM_ARMED_HOME
elif self._device.is_alarm_triggered:
state = STATE_ALARM_TRIGGERED
else:
state = None
return state

View File

@ -16,7 +16,7 @@ from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD,
from homeassistant.helpers.entity import Entity
_LOGGER = logging.getLogger(__name__)
REQUIREMENTS = ['lupupy==0.0.13']
REQUIREMENTS = ['lupupy==0.0.17']
DOMAIN = 'lupusec'

View File

@ -612,7 +612,7 @@ logi_circle==0.1.7
luftdaten==0.3.4
# homeassistant.components.lupusec
lupupy==0.0.13
lupupy==0.0.17
# homeassistant.components.light.lw12wifi
lw12==0.9.2