mirror of
https://github.com/home-assistant/core.git
synced 2025-08-15 18:41:44 +02:00
fix lint
This commit is contained in:
@@ -301,7 +301,7 @@ class DeviceTracker(object):
|
|||||||
|
|
||||||
# During init, we ignore the group
|
# During init, we ignore the group
|
||||||
self.group.async_set_group(
|
self.group.async_set_group(
|
||||||
self.hass, slugify(GROUP_NAME_ALL_DEVICES), visible=False,
|
self.hass, util.slugify(GROUP_NAME_ALL_DEVICES), visible=False,
|
||||||
name=GROUP_NAME_ALL_DEVICES, delta=[device.entity_id])
|
name=GROUP_NAME_ALL_DEVICES, delta=[device.entity_id])
|
||||||
|
|
||||||
# lookup mac vendor string to be stored in config
|
# lookup mac vendor string to be stored in config
|
||||||
|
@@ -146,7 +146,7 @@ def set_group(hass, object_id, name=None, entity_ids=None, visible=None,
|
|||||||
|
|
||||||
@callback
|
@callback
|
||||||
def async_set_group(hass, object_id, name=None, entity_ids=None, visible=None,
|
def async_set_group(hass, object_id, name=None, entity_ids=None, visible=None,
|
||||||
icon=None, view=None, control=None):
|
icon=None, view=None, control=None, delta=None):
|
||||||
"""Create a new user group."""
|
"""Create a new user group."""
|
||||||
data = {
|
data = {
|
||||||
key: value for key, value in [
|
key: value for key, value in [
|
||||||
|
Reference in New Issue
Block a user