Tesla bug fixes. (#9774)

* Tesla bug fixes.

* Added myself to CODEOWNERS for tesla.
This commit is contained in:
Sergey Isachenko 2017-10-09 14:38:00 +03:00 committed by Andrey
parent 43d77729c5
commit 9abd0fb92f
8 changed files with 60 additions and 10 deletions

View file

@ -49,7 +49,6 @@ class TeslaSensor(TeslaDevice, Entity):
self.entity_id = ENTITY_ID_FORMAT.format(
'{}_{}'.format(self.tesla_id, self.type))
else:
self._name = self.tesla_device.name
self.entity_id = ENTITY_ID_FORMAT.format(self.tesla_id)
@property