From c1f464f4784c43c60d62280a5a0bcbf5f5bc7677 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen <paulus@paulusschoutsen.nl> Date: Sat, 3 Oct 2015 11:26:57 -0700 Subject: [PATCH] Fix style issue --- homeassistant/components/logbook.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/logbook.py b/homeassistant/components/logbook.py index 19a5803853b..75a5cd83823 100644 --- a/homeassistant/components/logbook.py +++ b/homeassistant/components/logbook.py @@ -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: