Fix device telldus (#16224)

pull/16220/head
Paulus Schoutsen 2018-08-27 21:56:28 +02:00 committed by GitHub
parent 8435d2f53d
commit 24aa580b63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -287,7 +287,6 @@ class TelldusLiveEntity(Entity):
self._id = device_id self._id = device_id
self._client = hass.data[DOMAIN] self._client = hass.data[DOMAIN]
self._client.entities.append(self) self._client.entities.append(self)
self.device = self._client.device(device_id)
self._name = self.device.name self._name = self.device.name
_LOGGER.debug('Created device %s', self) _LOGGER.debug('Created device %s', self)