Fixed code style
This commit is contained in:
parent
cbd3860585
commit
82904c59ce
1 changed files with 10 additions and 9 deletions
|
@ -80,7 +80,8 @@ def setup_scanner(hass, config, see):
|
|||
elif data['event'] == 'leave':
|
||||
location = STATE_NOT_HOME
|
||||
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
|
||||
|
||||
parts = topic.split('/')
|
||||
|
|
Loading…
Add table
Reference in a new issue