Accept lower & upper case for owntracks 'home' region
This commit is contained in:
parent
08aabd18ad
commit
6c94650603
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ def setup_scanner(hass, config, see):
|
||||||
location = ''
|
location = ''
|
||||||
if data['event'] == 'enter':
|
if data['event'] == 'enter':
|
||||||
|
|
||||||
if data['desc'] == 'home':
|
if data['desc'].lower() == 'home':
|
||||||
location = STATE_HOME
|
location = STATE_HOME
|
||||||
else:
|
else:
|
||||||
location = data['desc']
|
location = data['desc']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue