-
-
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
Use deployment state for the horizontal #427
Conversation
Love it, @tetienne! Do you want to notify users already to validate this fix, or do you want to make some changes first? |
I tested it quickly this morning. It seems ok. We can indeed notify them. |
I keep this PR as draft. I think I can still clean the code. |
custom_components/tahoma/cover.py
Outdated
@@ -218,6 +219,8 @@ def is_closed(self): | |||
) | |||
|
|||
if state is not None: | |||
if self.has_state(CORE_DEPLOYMENT_STATE): | |||
return state == STATE_OPENED |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes...
Wondering, if instead I can test this: |
90f0daa
to
004d668
Compare
@tetienne this one is still a draft, could it be merged? |
I have to double check the code is still OK with my awning. |
Works fine with my own device. |
Ready to be merged |
Fix for #352 #411 and #419