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

Add support for priority lock #545

Merged
merged 3 commits into from
Aug 24, 2021

Conversation

tetienne
Copy link
Collaborator

@tetienne tetienne commented Aug 24, 2021

Screenshot 2021-08-24 at 09-34-26 Configuration - Home Assistant
Screenshot 2021-08-24 at 09-33-02 Configuration - Home Assistant

@github-actions github-actions bot added the enhancement New feature or request label Aug 24, 2021
OverkizSensorDescription(
key="io:PriorityLockOriginatorState",
name="Priority Lock Originator",
value=lambda value: str(value).capitalize(),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I hesitate with Unlocked as default value for this one, instead of Unknown.

@tetienne tetienne requested a review from iMicknl August 24, 2021 07:51
@@ -128,19 +123,6 @@ def is_closed(self):

return None

@property
def icon(self):
Copy link
Owner

Choose a reason for hiding this comment

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

Finally we got rid of this part <3

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

💪

@tetienne tetienne merged commit 6aefdc8 into master Aug 24, 2021
@tetienne tetienne deleted the enhancement/sensor/PriorityLockOriginatorState branch August 24, 2021 08:14
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