Accept lower & upper case for owntracks 'home' region

pull/875/head
xifle 2016-01-10 15:00:14 +01:00
parent 08aabd18ad
commit 6c94650603
1 changed files with 1 additions and 1 deletions

View File

@ -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']