Fix PEP257 issues

This commit is contained in:
Fabian Affolter 2016-03-07 20:20:07 +01:00
parent f6bc1a4575
commit fb7bd1bfe1
9 changed files with 30 additions and 36 deletions

View file

@ -1,5 +1,5 @@
"""
Offers sun based automation rules.
Offer sun based automation rules.
For more details about this automation rule, please refer to the documentation
at https://home-assistant.io/components/automation/#sun-trigger
@ -53,7 +53,7 @@ def trigger(hass, config, action):
def if_action(hass, config):
"""Wraps action method with sun based condition."""
"""Wrap action method with sun based condition."""
before = config.get(CONF_BEFORE)
after = config.get(CONF_AFTER)