flake8 fix
This commit is contained in:
parent
47af247d6a
commit
90e2aefd23
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue