MotionBlinds integration - Position Device has wrong open/closed status and percentage
The problem
Hi, the MotionBlinds integration has wrong open/closed status and percentage when using "Position device" like Awnings.
When the Awning is phisically completely closed ( so i can freely see the sky ) the integration reports "Open 100%". When i roll down the Awning completely, the integration reports "Closed".
The logical status is completely reverse compared to the physical status.
I checked on the Gaviota app and when the awning is completely open, it reports "Open 0%". When it's closed it reports Closed 100%.
I think there are 2 things to solve here:
- Assign the closed status when 100% is reported from the gateway
- Invert the percentage artificially (Example: gateway reports 23%, return 77% instead ). When i open 20% of my awning i expect it to open just a little, not too much.
What version of Home Assistant Core has the issue?
2024.10.1
What was the last working version of Home Assistant Core?
2024.10.1
What type of installation are you running?
Home Assistant OS
Integration causing the issue
motion_blinds
Link to integration documentation on our website
https://www.home-assistant.io/integrations/motion_blinds/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
Hey there @starkillerog, mind taking a look at this issue as it has been labeled with an integration (motion_blinds) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of motion_blinds can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign motion_blindsRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
motion_blinds documentation motion_blinds source (message by IssueLinks)
The postion status is consitent with the definition of HomeAssistant, Open = light can pass through the opening, Closed = light is beeing blocked. see https://developers.home-assistant.io/docs/core/entity/cover