mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
flake8 fix
This commit is contained in:
parent
47af247d6a
commit
90e2aefd23
@ -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…
x
Reference in New Issue
Block a user