mirror of
https://github.com/home-assistant/core.git
synced 2025-08-11 00:25:12 +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 = ''
|
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']
|
||||||
|
Reference in New Issue
Block a user