mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
flake8 fix
This commit is contained in:
parent
1a00d4a095
commit
47af247d6a
@ -32,7 +32,7 @@ def trigger(hass, config, action):
|
|||||||
return False
|
return False
|
||||||
hours, minutes, seconds = after.hour, after.minute, after.second
|
hours, minutes, seconds = after.hour, after.minute, after.second
|
||||||
elif CONF_HOURS in config or CONF_MINUTES in config \
|
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)
|
hours = convert(config.get(CONF_HOURS), int)
|
||||||
minutes = convert(config.get(CONF_MINUTES), int)
|
minutes = convert(config.get(CONF_MINUTES), int)
|
||||||
seconds = convert(config.get(CONF_SECONDS), int)
|
seconds = convert(config.get(CONF_SECONDS), int)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user