gaggle331 / home-assistant-kevo Goto Github PK
View Code? Open in Web Editor NEWKevo Custom Component for Home Assistant
Kevo Custom Component for Home Assistant
Created in inquiry to Keyvo support in hopes they will look at this page and help the community with this challenge.
Hi.
I installed the integration via HACS and added the suggested config into configuration.yaml. After a restart I'm seeing this in the logs and the integration isn't able to get the status of the locks or control them.
2021-11-14 22:21:45 ERROR (MainThread) [homeassistant.helpers.entity] Update for lock.kitchen_door fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 438, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 625, in async_device_update
raise exc
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/kevo_plus/lock.py", line 98, in update
File "/usr/local/lib/python3.9/site-packages/pykevoplus/init.py", line 108, in _wrapped
return method(self, *args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/pykevoplus/init.py", line 272, in GetBoltState
self.Refresh()
File "/usr/local/lib/python3.9/site-packages/pykevoplus/init.py", line 108, in _wrapped
return method(self, *args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/pykevoplus/init.py", line 223, in Refresh
raise KevoError("Error getting lock info: {}".format(info_result.text))
pykevoplus.KevoError: Error getting lock info: {"status":"500","error":"Internal Server Error"}
Any ideas what could be causing this?
Thanks!
After installing the integration via HACS I added:
lock:
- platform: kevo_plus
email: USER
password: PWD
locks:
- lock_id: ID
max_retries: 3
retry_delay: 2
As soon as I add this the Check Configuration button just spins and spins and never says my config is valid nor reports an error. I'm new to HA, is this sample config still valid in 2022.6.4?
2020-06-13 21:37:28 WARNING (MainThread) [homeassistant.components.lock] LockDevice is deprecated, modify KevoDevice to extend LockEntity
My be present in older versions but only got around to installing this....
If I get a chance I'll try to work out what changes are needed but python is not my strength.
I've installed per the read me file, but I'm unable to find any mention of Kevo in Home Assistant. I have kevo plus directory located in config/custom_components, and I have the proper lines in configuration.yaml, edited with my information.
Do I need to do anything else, other than restarting Home Assistant?
Good afternoon,
My front door works but it stops working when I add my other door in the config. Is there anything I can do on my end to make this code support two locks at the same time? Thanks in advance.
Is it working for you?
Appear Home Assistant now requires a version, currently I'm on HA 2021.3.4
No 'version' key in the manifest file for custom integration 'kevo_plus'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'kevo_plus'
hopefully should just require a simple version key in the manifest file, I'll submit a Pull request once I confirm.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.