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

fix cover set up #138

Merged
merged 1 commit into from
Jul 9, 2020
Merged

fix cover set up #138

merged 1 commit into from
Jul 9, 2020

Conversation

vlebourl
Copy link
Collaborator

@vlebourl vlebourl commented Jul 9, 2020

AttributeError: 'TahomaCover' object has no attribute '_lock_originator'

AttributeError: 'TahomaCover' object has no attribute '_lock_originator'
@github-actions github-actions bot added the bug Something isn't working label Jul 9, 2020
if IO_PRIORITY_LOCK_ORIGINATOR_STATE in self.tahoma_device.active_states:
attr[ATTR_LOCK_ORIG] = self.tahoma_device.active_states[
IO_PRIORITY_LOCK_ORIGINATOR_STATE
]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh Sorry I missed this one.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Create a variable state = self.tahoma_device.active_states to avoid long lines.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

damn... seen that too late...

@vlebourl vlebourl merged commit 8b5df96 into master Jul 9, 2020
@vlebourl vlebourl deleted the fix/fix_cover_missing_lock_originator branch July 9, 2020 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants