Skip to content
Snippets Groups Projects
Commit e71efb3b authored by Paulus Schoutsen's avatar Paulus Schoutsen
Browse files

pylint hints update

parent c69b9aef
No related branches found
No related tags found
No related merge requests found
...@@ -89,10 +89,8 @@ def get_entity_ids(hass, entity_id, domain_filter=None): ...@@ -89,10 +89,8 @@ def get_entity_ids(hass, entity_id, domain_filter=None):
return [] return []
# pylint: disable=too-many-branches, too-many-locals
def setup(hass, config): def setup(hass, config):
""" Sets up all groups found definded in the configuration. """ """ Sets up all groups found definded in the configuration. """
for name, entity_ids in config[DOMAIN].items(): for name, entity_ids in config[DOMAIN].items():
entity_ids = entity_ids.split(",") entity_ids = entity_ids.split(",")
...@@ -100,7 +98,7 @@ def setup(hass, config): ...@@ -100,7 +98,7 @@ def setup(hass, config):
return True return True
# pylint: disable=too-many-branches
def setup_group(hass, name, entity_ids): def setup_group(hass, name, entity_ids):
""" Sets up a group state that is the combined state of """ Sets up a group state that is the combined state of
several states. Supports ON/OFF and DEVICE_HOME/DEVICE_NOT_HOME. """ several states. Supports ON/OFF and DEVICE_HOME/DEVICE_NOT_HOME. """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment