Skip to content

Commit

Permalink
Fix style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed Oct 3, 2015
1 parent 8c5759e commit c1f464f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/logbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ def humanify(events):
def _entry_message_from_state(domain, state):
""" Convert a state to a message for the logbook. """
# We pass domain in so we don't have to split entity_id again
# pylint: disable=too-many-return-statements

if domain == 'device_tracker':
if state.state == STATE_NOT_HOME:
Expand Down

0 comments on commit c1f464f

Please sign in to comment.