Fix reporting of battery sensor for Tesla (#31232)
* Fix reporting of battery sensor for Tesla * Remove try
This commit is contained in:
1 parent
61a8618010
commit
bcdef4e500
2 files changed
+3
No files matched your search
@@ -55,3 +55,4 @@ class TeslaBinarySensor(TeslaDevice, BinarySensorDevice):
|
||||
_LOGGER.debug("Updating sensor: %s", self._name)
|
||||
await super().async_update()
|
||||
self._state = self.tesla_device.get_value()
|
||||
self._attributes = self.tesla_device.attrs
|
||||
Reference in new issue
Block a user