Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from Dec 4, 2018
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion homeassistant/components/alarm_control_panel/lupusec.py
Expand Up @@ -12,7 +12,8 @@
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']

Expand Down Expand Up @@ -50,6 +51,8 @@ def state(self):
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
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/lupusec.py
Expand Up @@ -16,7 +16,7 @@
from homeassistant.helpers.entity import Entity
_LOGGER = logging.getLogger(__name__)

REQUIREMENTS = ['lupupy==0.0.13']
REQUIREMENTS = ['lupupy==0.0.17']

DOMAIN = 'lupusec'

Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Expand Up @@ -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
Expand Down