Comments (10)
Did give the PR a 👍
In the gui I get the following message: Unknown error occurred
The log message and stacktrace is attached.
from yale_smart_alarm.
Upgrade your HA to 2021.05 (DeviceInfo was not implemented before it looks like)
Let me know if that helps
from yale_smart_alarm.
I'm running 2021.05.5 (latest).
from yale_smart_alarm.
You're right. Apparently not yet implemented in core.
I have reversed to mapping instead so download it again and give it a try.
I am running this into the official component so have myself only been running this in dev.
from yale_smart_alarm.
You forgot to remove DeviceInfo imports:
After removing those it seems to work perfectly. I've just testet unlocking and locking the door and arming and disarming the alarm.
But it seems there are another issue. It's impossible to setup (add integration) without supplying the (door) code. Even though, after looking at the code, it should be optional. The error message is gone from my log after a reboot but I can recreate it if you want.
Looking forward to this being merged into the official component. Thank you for your work!
from yale_smart_alarm.
Thanks. The official PR (only alarm) has quite a few more adds than this custom.
home-assistant/core#50850
You might want to give it a 👍 to get it moving faster.
Btw: Would appreciate a report on the error for the door code as yes, it should be optional.
Thanks
from yale_smart_alarm.
Thanks. I believe it's now corrected so a code is not necessary.
Eventually in the official this will go into options anyhow. This custom is quite behind in dev but ok to use until official has been approved
from yale_smart_alarm.
I checked the Home Assistant logs today I find that they are full of these messages:
2021-06-10 21:09:02 ERROR (SyncWorker_7) [backoff] Giving up _authorize(...) after 8 tries (requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://mob.yalehomesystem.co.uk/yapi/yapi/o/token/)
2021-06-10 21:09:02 INFO (SyncWorker_7) [backoff] Backing off get_authenticated(...) for 0.1s (requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://mob.yalehomesystem.co.uk/yapi/yapi/o/token/)
2021-06-10 21:09:03 INFO (SyncWorker_7) [backoff] Backing off _authorize(...) for 0.7s (requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://mob.yalehomesystem.co.uk/yapi/yapi/o/token/)
So far over 180.000 lines 😄
I'm removing/deactivating for now.
from yale_smart_alarm.
So far over 180.000 lines 😄
I'm removing/deactivating for now.
Wow... That is some log-file then 😅
Apparently I had not updated it to the latest package version where this is addressed. I have now done so if you want to give it another try.
from yale_smart_alarm.
I've been using it for a couple of days now and only a handful of messages in the log so seems good so far. Thank you!
from yale_smart_alarm.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yale_smart_alarm.