forked from home-assistant/core
Add missing write state to Teslemetry (#146267)
This commit is contained in:
committed by
Franck Nijhof
parent
91e29a3bf1
commit
4d3145e559
@@ -441,6 +441,7 @@ class TeslemetryStreamingRearTrunkEntity(
|
||||
"""Update the entity attributes."""
|
||||
|
||||
self._attr_is_closed = None if value is None else not value
|
||||
self.async_write_ha_state()
|
||||
|
||||
|
||||
class TeslemetrySunroofEntity(TeslemetryVehiclePollingEntity, CoverEntity):
|
||||
|
Reference in New Issue
Block a user