Skip to content
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

Merged
merged 9 commits into from
May 6, 2021

Conversation

tetienne
Copy link
Collaborator

@tetienne tetienne commented Apr 19, 2021

Fix for #352 #411 and #419

@github-actions github-actions bot added the enhancement New feature or request label Apr 19, 2021
@iMicknl
Copy link
Owner

iMicknl commented Apr 19, 2021

Love it, @tetienne! Do you want to notify users already to validate this fix, or do you want to make some changes first?

@tetienne
Copy link
Collaborator Author

I tested it quickly this morning. It seems ok. We can indeed notify them.

@tetienne
Copy link
Collaborator Author

I keep this PR as draft. I think I can still clean the code.

@@ -218,6 +219,8 @@ def is_closed(self):
)

if state is not None:
if self.has_state(CORE_DEPLOYMENT_STATE):
return state == STATE_OPENED
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes...

@tetienne
Copy link
Collaborator Author

Wondering, if instead I can test this: "uiClass": "Awning",

@tetienne tetienne force-pushed the enhancement/horizontal-deployment branch from 90f0daa to 004d668 Compare April 19, 2021 12:45
@iMicknl
Copy link
Owner

iMicknl commented May 4, 2021

@tetienne this one is still a draft, could it be merged?

@tetienne
Copy link
Collaborator Author

tetienne commented May 4, 2021

@tetienne this one is still a draft, could it be merged?

I have to double check the code is still OK with my awning.

@tetienne tetienne marked this pull request as ready for review May 5, 2021 13:45
@tetienne tetienne requested a review from vlebourl as a code owner May 5, 2021 13:45
@tetienne tetienne requested a review from iMicknl May 5, 2021 13:46
@tetienne
Copy link
Collaborator Author

tetienne commented May 5, 2021

Works fine with my own device.

@tetienne
Copy link
Collaborator Author

tetienne commented May 6, 2021

Ready to be merged

@iMicknl iMicknl merged commit 02adec9 into master May 6, 2021
@iMicknl iMicknl deleted the enhancement/horizontal-deployment branch May 6, 2021 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants