From 0d3ad3c1d6e4ef641eced72c7e53343292bf336e Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 15 Jun 2017 01:25:54 +0200 Subject: [PATCH] fix lint --- homeassistant/components/device_tracker/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/device_tracker/__init__.py b/homeassistant/components/device_tracker/__init__.py index 81f3d021188..b8942dc6623 100644 --- a/homeassistant/components/device_tracker/__init__.py +++ b/homeassistant/components/device_tracker/__init__.py @@ -306,7 +306,7 @@ class DeviceTracker(object): # During init, we ignore the group if self.group and self.track_new: 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]) # lookup mac vendor string to be stored in config @@ -340,7 +340,7 @@ class DeviceTracker(object): self.group = get_component('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, entity_ids=entity_ids) @callback