mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
pylint hints update
This commit is contained in:
parent
c69b9aefec
commit
e71efb3b68
@ -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):
|
|||||||
|
|
||||||
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. """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user