diff --git a/custom_components/hunterdouglas_powerview_ble/api.py b/custom_components/hunterdouglas_powerview_ble/api.py index 58a361f..4922713 100644 --- a/custom_components/hunterdouglas_powerview_ble/api.py +++ b/custom_components/hunterdouglas_powerview_ble/api.py @@ -53,8 +53,9 @@ SHADE_TYPE: Final[dict[int, str]] = { 33: "Duette Architella, Top Down Bottom Up", 39: "Parkland", 47: "Pleated, Top Down Bottom Up", - # top down, tilt anywhere + # tilt anywhere (position + tilt) 51: "Venetian, Tilt Anywhere", + 54: "Vertical Blind, Tilt", 62: "Venetian, Tilt Anywhere", } @@ -71,6 +72,7 @@ class ShadeCapability(NamedTuple): SHADE_CAPABILITIES: Final[dict[int, ShadeCapability]] = { # tilt anywhere (position + tilt) 51: ShadeCapability(has_tilt=True), + 54: ShadeCapability(has_tilt=True), 62: ShadeCapability(has_tilt=True), # tilt only (no position movement) 39: ShadeCapability(has_tilt=True, tilt_only=True), diff --git a/custom_components/hunterdouglas_powerview_ble/cover.py b/custom_components/hunterdouglas_powerview_ble/cover.py index c47af27..a39d968 100644 --- a/custom_components/hunterdouglas_powerview_ble/cover.py +++ b/custom_components/hunterdouglas_powerview_ble/cover.py @@ -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