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

Sesame lock component is using an old API version and state goes out of sync #19003

Closed
bogdanalexe90 opened this issue Dec 4, 2018 · 4 comments · Fixed by #23621
Closed

Sesame lock component is using an old API version and state goes out of sync #19003

bogdanalexe90 opened this issue Dec 4, 2018 · 4 comments · Fixed by #23621

Comments

@bogdanalexe90
Copy link

Home Assistant release with the issue:

Last working Home Assistant release (if known):

Operating environment (Hass.io/Docker/Windows/etc.):

Component/platform:
https://www.home-assistant.io/components/lock.sesame/

Description of problem:
The sesame lock component is using an old API version. This is causing the lock component to be out of sync with the actual lock status. In the new API they fixed that by introducing new methods.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):


Additional information:

@bogdanalexe90 bogdanalexe90 changed the title Sesame lock component is using an old API version Sesame lock component is using an old API version and state goes out of sync Dec 4, 2018
@balloobbot
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍

@bogdanalexe90
Copy link
Author

Any update on this? Sesame just announced that they will soon drop support for the V2 API.

@zanglang
Copy link
Contributor

zanglang commented Apr 9, 2019

I forked the old sesame component and updated it to use pysesame2, which looks to be written by a Candy House engineer, but short of being officially published on PyPi. Not sure that would be a blocker.

Clone https://github.com/zanglang/sesame2 into custom_components, and get an API key from https://my.candyhouse.co/#/credentials

Example:

lock:
  - platform: sesame2
    api_key: !secret sesame_api_key

@zanglang
Copy link
Contributor

With Candy House's pysesame2 library being on PyPi it is possible to update this component now. I've opened a PR for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment