From e71efb3b68cba321d5708253a8a46a15c6109af5 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen <Paulus@PaulusSchoutsen.nl> Date: Tue, 21 Oct 2014 23:52:05 -0700 Subject: [PATCH] pylint hints update --- homeassistant/components/group.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/homeassistant/components/group.py b/homeassistant/components/group.py index e3ac63506ec..6a857e7b68e 100644 --- a/homeassistant/components/group.py +++ b/homeassistant/components/group.py @@ -89,10 +89,8 @@ def get_entity_ids(hass, entity_id, domain_filter=None): return [] -# pylint: disable=too-many-branches, too-many-locals def setup(hass, config): """ Sets up all groups found definded in the configuration. """ - for name, entity_ids in config[DOMAIN].items(): entity_ids = entity_ids.split(",") @@ -100,7 +98,7 @@ def setup(hass, config): return True - +# pylint: disable=too-many-branches def setup_group(hass, name, entity_ids): """ Sets up a group state that is the combined state of several states. Supports ON/OFF and DEVICE_HOME/DEVICE_NOT_HOME. """ -- GitLab