From 1a00d4a095ea367dc30f911c1344b07164ce5c65 Mon Sep 17 00:00:00 2001 From: Stefan Jonasson Date: Thu, 17 Sep 2015 08:35:18 +0200 Subject: [PATCH] pylint 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 0f0e2fe38dd..9c60b766c6f 100644 --- a/homeassistant/components/automation/time.py +++ b/homeassistant/components/automation/time.py @@ -32,13 +32,13 @@ def trigger(hass, config, action): 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: + 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) else: _LOGGER.error('One of %s, %s, %s OR %s needs to be specified', - CONF_HOURS, CONF_MINUTES, CONF_SECONDS, CONF_AFTER) + CONF_HOURS, CONF_MINUTES, CONF_SECONDS, CONF_AFTER) return False def time_automation_listener(now):