mirror of
https://github.com/home-assistant/core.git
synced 2025-08-09 23:55:07 +02:00
Merge pull request #875 from xifle/dev
Owntracks transition events minor improvement
This commit is contained in:
@@ -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']
|
||||
|
Reference in New Issue
Block a user