mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Merge pull request #875 from xifle/dev
Owntracks transition events minor improvement
This commit is contained in:
commit
579f4d4cca
@ -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…
x
Reference in New Issue
Block a user