Skip to content

feat: add is_position_inverted to expose position convention per devi…#181

Merged
bbx-a merged 1 commit intoblebox:masterfrom
bkobus-bbx:feat/cover-position-inverted
Apr 24, 2026
Merged

feat: add is_position_inverted to expose position convention per devi…#181
bbx-a merged 1 commit intoblebox:masterfrom
bkobus-bbx:feat/cover-position-inverted

Conversation

@bkobus-bbx
Copy link
Copy Markdown
Contributor

@bkobus-bbx bkobus-bbx commented Apr 23, 2026

Add is_position_inverted property to cover classes to expose per-device position convention.

shutterBox and gateController report position as % closed (0=open, 100=closed), while gateBox uses 0=closed, 100=open convention. The HA integration currently inverts position unconditionally for all devices, which causes incorrect behavior for gateBox where buttons are incorrectly blocked at the maximum position. This property allows the integration to invert selectively based on the actual device convention.

After release and PR to HASS it'll fix the issue: #177

@bbx-a bbx-a merged commit be63c03 into blebox:master Apr 24, 2026
2 checks passed
@bkobus-bbx bkobus-bbx deleted the feat/cover-position-inverted branch April 24, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants