Adding a mapper for 'position' which is basically 'location'
authorrtrimana <rtrimana@uci.edu>
Fri, 9 Aug 2019 18:56:08 +0000 (11:56 -0700)
committerrtrimana <rtrimana@uci.edu>
Fri, 9 Aug 2019 18:56:30 +0000 (11:56 -0700)
Extractor/ExtractorScript.py

index 53ba8b2..a5d46c8 100644 (file)
@@ -72,6 +72,7 @@ eventTypesMap =          {'alarm.both': 'alarm',
                                                'tamper.tampered' : 'contact',
                                                'doorState.open' : 'doorState',
                                                'doorState.closed' : 'doorState',
+                                               'position' : 'location',
                                                'mode' : 'location',
                                                'mode.away' : 'location',
                                                'mode.home' : 'location',