SmartThings Lock platform state attributes enhancement (#21379)

* Add additional lock metadata

* Fixed attribute name in test
This commit is contained in:
Andrew Sayre authored and Fabian Affolter committed 2019-02-24 02:52:37 +01:00
1 parent ce86fe47e3
commit 3d9f4bf2aa
2 files changed
+20 -3

No files matched your search

+4 -1
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'
}