Skip to content

Commit

Permalink
Add support for keypad keypress (#18393)
Browse files Browse the repository at this point in the history
* Add support for keypad keypress

* Update requirements_all
  • Loading branch information
Glenn Waters authored and fabaff committed Nov 12, 2018
1 parent 15c77fe commit 275b485
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/elkm1/__init__.py
Expand Up @@ -20,7 +20,7 @@

DOMAIN = "elkm1"

REQUIREMENTS = ['elkm1-lib==0.7.10']
REQUIREMENTS = ['elkm1-lib==0.7.11']

CONF_AREA = 'area'
CONF_COUNTER = 'counter'
Expand Down
1 change: 1 addition & 0 deletions homeassistant/components/sensor/elkm1.py
Expand Up @@ -91,6 +91,7 @@ def device_state_attributes(self):
attrs['last_user'] = self._element.last_user + 1
attrs['code'] = self._element.code
attrs['last_user_name'] = username(self._elk, self._element.last_user)
attrs['last_keypress'] = self._element.last_keypress
return attrs

def _element_changed(self, element, changeset):
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Expand Up @@ -333,7 +333,7 @@ einder==0.3.1
eliqonline==1.0.14

# homeassistant.components.elkm1
elkm1-lib==0.7.10
elkm1-lib==0.7.11

# homeassistant.components.enocean
enocean==0.40
Expand Down

0 comments on commit 275b485

Please sign in to comment.