From 90e2aefd2346eab47890e43aaa04b4705580acb4 Mon Sep 17 00:00:00 2001 From: Stefan Jonasson Date: Thu, 17 Sep 2015 08:55:17 +0200 Subject: [PATCH] flake8 fix --- homeassistant/components/automation/time.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/automation/time.py b/homeassistant/components/automation/time.py index 8679cac8667..17b0c989f16 100644 --- a/homeassistant/components/automation/time.py +++ b/homeassistant/components/automation/time.py @@ -31,8 +31,8 @@ def trigger(hass, config, action): 'Received invalid after value: %s', config[CONF_AFTER]) return False hours, minutes, seconds = after.hour, after.minute, after.second - elif CONF_HOURS in config or CONF_MINUTES in config \ - or CONF_SECONDS in config: + elif (CONF_HOURS in config or CONF_MINUTES in config + or CONF_SECONDS in config): hours = convert(config.get(CONF_HOURS), int) minutes = convert(config.get(CONF_MINUTES), int) seconds = convert(config.get(CONF_SECONDS), int)