Accept lower & upper case for owntracks 'home' region
parent
08aabd18ad
commit
6c94650603
|
@ -71,7 +71,7 @@ def setup_scanner(hass, config, see):
|
|||
location = ''
|
||||
if data['event'] == 'enter':
|
||||
|
||||
if data['desc'] == 'home':
|
||||
if data['desc'].lower() == 'home':
|
||||
location = STATE_HOME
|
||||
else:
|
||||
location = data['desc']
|
||||
|
|
Loading…
Reference in New Issue