-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Garage Close Action should not Open the Garage Door #17
Comments
I just added my garage doors to presence automation and experienced the same. Did you figure this out? |
I was able to fix it by adding some additional logic to the close action in cover definition.
Hope this helps! |
Same problem here. I just added a condition in the automation to only close if it is open. But still, this should not be necessary. Close should only close. |
If you were able to fix it please post how or please look above I was able fix it. Adding additional logic did the trick. |
Yes, as I said, I just added a condition to my Home Assistant automation. The details are pretty straight forward, below is my automation. I was mostly just commenting as a +1 for looking into this as I experience it also.
|
Got it thank you for sharing. I though it would help others if they are in the same situation. |
This has been fixed in cd9f33d The open and close actions are now state-aware and it will ignore (and play and error tone) if you try to close the garage that's already closed (or vice-versa). |
@heythisisnate this might be by design, but I figured I would share my experience here. Your fix works, but only if the state is fully open or closed. If the door in moving, then triggering open or close will in fact stop the door still. For example, I have an automation that closes the garage door when I open my front door. If the door is already closing (but not fully closed), opening my front door will stop it from closing, and start opening. I can fix this in the automation, as I have. However since you did fix the code, I might recommend taking it one step further which is to detect "close" or "closing" both as states. And if in "closing" to ignore the close action request. Same for open / opening of course. Love the product though, just a little feedback. |
@danielgoepp good feedback, I will consider this for future enhancement. The tricky part is reliably detecting the opening and closing states. Since we're usually relying on just one sensor to know the state of the garage, the transition states kinda have to be assumed or implied, so it won't always be perfect. I have some ideas to improve this. |
@heythisisnate if I recall correctly the new version supports this better right? The ones coming out in like a week? They get the door status from the unit instead of needing sensors? I can't wait :) |
Currently the Closed Button in the web portal and when linked to Apple Homebridge integration, for Home Assistant, the Close Action Button is opening the Door, this breaks the Good Night Scenes I have created in Apple Home.
I'm using just the Range Sensors in my garage setup.
Please help me figure this out and create a better close action which checks if its already closed and will not trigger any action, by which I mean is dont open when the action is to close but confirm that its closed.
This is my yaml config.
The text was updated successfully, but these errors were encountered: