mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fixed code style
This commit is contained in:
parent
cbd3860585
commit
82904c59ce
@ -80,7 +80,8 @@ def setup_scanner(hass, config, see):
|
|||||||
elif data['event'] == 'leave':
|
elif data['event'] == 'leave':
|
||||||
location = STATE_NOT_HOME
|
location = STATE_NOT_HOME
|
||||||
else:
|
else:
|
||||||
logging.getLogger(__name__).error('Misformatted mqtt msgs, _type=transition, event=%s', data['event'])
|
logging.getLogger(__name__).error('Misformatted mqtt msgs, _type=transition, event=%s',
|
||||||
|
data['event'])
|
||||||
return
|
return
|
||||||
|
|
||||||
parts = topic.split('/')
|
parts = topic.split('/')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user