fix: add type 54 vertical blind support and remove spurious battery_charging control lock

This commit is contained in:
Richard Mann
2026-04-11 17:40:35 +10:00
parent 8a6a17b767
commit 1b9aed4f89
2 changed files with 4 additions and 4 deletions

View File

@@ -110,9 +110,7 @@ class PowerViewCover(PassiveBluetoothCoordinatorEntity[PVCoordinator], CoverEnti
@property
def supported_features(self) -> CoverEntityFeature: # type: ignore[reportIncompatibleVariableOverride]
"""Flag supported features, disable control if encryption is needed."""
if (
self._coord.data.get("home_id") and not self._coord.api.has_key
) or self._coord.data.get("battery_charging"):
if self._coord.data.get("home_id") and not self._coord.api.has_key:
return CoverEntityFeature(0)
return super().supported_features