From 812dc99073ef9864d7ef5b0d9f31e8e062b33c6f Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 13 Sep 2016 21:27:43 +0200 Subject: [PATCH] fix xbox live entity id (#3368) --- homeassistant/components/sensor/xbox_live.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/homeassistant/components/sensor/xbox_live.py b/homeassistant/components/sensor/xbox_live.py index 9552eea1001..36e100394e9 100644 --- a/homeassistant/components/sensor/xbox_live.py +++ b/homeassistant/components/sensor/xbox_live.py @@ -11,7 +11,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import (CONF_API_KEY, STATE_UNKNOWN) import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -from homeassistant.util import slugify _LOGGER = logging.getLogger(__name__) @@ -73,11 +72,6 @@ class XboxSensor(Entity): """Return the name of the sensor.""" return self._gamertag - @property - def entity_id(self): - """Return the entity ID.""" - return 'sensor.xbox_' + slugify(self._gamertag) - @property def state(self): """Return the state of the sensor."""