mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 00:27:19 +00:00
Deprecate SmartThings cover battery state attribute (#140752)
This commit is contained in:
parent
42f0e70cde
commit
784381a25f
@ -130,6 +130,7 @@ class SmartThingsCover(SmartThingsEntity, CoverEntity):
|
||||
Capability.WINDOW_SHADE_LEVEL, Attribute.SHADE_LEVEL
|
||||
)
|
||||
|
||||
# Deprecated, remove in 2025.10
|
||||
self._attr_extra_state_attributes = {}
|
||||
if self.supports_capability(Capability.BATTERY):
|
||||
self._attr_extra_state_attributes[ATTR_BATTERY_LEVEL] = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user