SmartThings Lock platform state attributes enhancement (#21379)

* Add additional lock metadata

* Fixed attribute name in test
This commit is contained in:
Andrew Sayre 2019-02-23 19:52:37 -06:00 committed by Fabian Affolter
parent ce86fe47e3
commit 3d9f4bf2aa
2 changed files with 20 additions and 3 deletions

View file

@ -10,9 +10,12 @@ DEPENDENCIES = ['smartthings']
ST_STATE_LOCKED = 'locked'
ST_LOCK_ATTR_MAP = {
'method': 'method',
'codeId': 'code_id',
'codeName': 'code_name',
'lockName': 'lock_name',
'method': 'method',
'timeout': 'timeout',
'usedCode': 'used_code'
}