mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +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 = ''
|
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…
x
Reference in New Issue
Block a user