Add missing write state to Teslemetry (#146267)

This commit is contained in:
Brett Adams 2025-06-07 12:43:16 +10:00 committed by GitHub
parent d5e902a170
commit 24b5886d88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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):