Skip to content

lock.sesame: Add support for Sesame smart locks#7873

Merged
balloob merged 1 commit into
home-assistant:devfrom
trisk:sesame
Jun 5, 2017
Merged

lock.sesame: Add support for Sesame smart locks#7873
balloob merged 1 commit into
home-assistant:devfrom
trisk:sesame

Conversation

@trisk
Copy link
Copy Markdown
Contributor

@trisk trisk commented Jun 3, 2017

Description:

Add support for Sesame smart locks, by CANDY HOUSE.

Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.io#2743

Example entry for configuration.yaml (if applicable):

# Example configuration.yaml entry
lock:
  - platform: sesame
    email: abc@i-lovecandyhouse.co
    password: super-strong-password

@homeassistant
Copy link
Copy Markdown
Contributor

Hi @trisk,

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@mention-bot
Copy link
Copy Markdown

@trisk, thanks for your PR! By analyzing the history of the files in this pull request, we identified @balloob, @fabaff and @happyleavesaoc to be potential reviewers.

Comment thread homeassistant/components/lock/sesame.py Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

continuation line over-indented for visual indent

Comment thread homeassistant/components/lock/sesame.py Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

line too long (82 > 79 characters)

Comment thread homeassistant/components/lock/sesame.py Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

continuation line under-indented for visual indent

Comment thread homeassistant/components/lock/sesame.py Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

continuation line with same indent as next logical line

@trisk
Copy link
Copy Markdown
Contributor Author

trisk commented Jun 3, 2017

Lock/unlock actions are not completely tested until I have the Wi-Fi Access Point hardware. Right now the API calls seem to produce the correct responses.

@philhawthorne
Copy link
Copy Markdown
Contributor

@trisk well done!

I am also awaiting for the Wifi Access Point. Good to see Home Assistant will support Sesame as soon as they ship!

Comment thread homeassistant/components/lock/sesame.py Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please extract platform specific code into a third party lib.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done, created https://github.com/trisk/pysesame/ and published to PyPI.

Comment thread homeassistant/components/lock/sesame.py Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

expected 2 blank lines, found 1

Comment thread homeassistant/components/lock/sesame.py Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

'requests' imported but unused

* Manage Sesame devices through CANDY HOUSE's cloud API
* Add dependency on new pysesame library
Copy link
Copy Markdown
Member

@balloob balloob left a comment

Choose a reason for hiding this comment

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

Perfect! 🐬

@balloob balloob merged commit aeb1d3d into home-assistant:dev Jun 5, 2017
@balloob balloob mentioned this pull request Jun 16, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Sep 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants