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
Integration with lockitron #6805
Conversation
@aarya123, thanks for your PR! By analyzing the history of the files in this pull request, we identified @balloob, @fabaff and @robbiet480 to be potential reviewers. |
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.
I hope we finish it now :)
self.device_id = device_id | ||
|
||
@property | ||
def should_poll(self): |
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.
Is Default, please remove it
def lock(self, **kwargs): | ||
"""Lock the device.""" | ||
self._state = self.do_change_request(Lockitron.LOCK_STATE) | ||
self.update_ha_state() |
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.
Not needed while it is a polling device
def unlock(self, **kwargs): | ||
"""Unlock the device.""" | ||
self._state = self.do_change_request(Lockitron.UNLOCK_STATE) | ||
self.update_ha_state() |
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.
Not needed while it is a polling device
Updated! |
Good work 👍 |
Description:
Add support to lockitrons that have the bridge extension that enables wi-fi support. Currently only supports one lock at a time.
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation: home-assistant/home-assistant.io#2339
Example entry for
configuration.yaml
(if applicable):Checklist:
If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
tox
run successfully. Your PR cannot be merged unless tests passREQUIREMENTS
variable (example).requirements_all.txt
by runningscript/gen_requirements_all.py
..coveragerc
.If the code does not interact with devices:
tox
run successfully. Your PR cannot be merged unless tests pass