Comments (13)
Ah, sorry - I forgot to remove that during the tidy-up; I'm taking a crack at getting the sensors in from the node attributes
The message is harmless and the error shouldn't affect the rest of the platforms
from hacs-homee.
Strange - added debug to config and restarted to have a closer look and all of a sudden it works?
Will dig around and figure it out, tidy up and send a PR
from hacs-homee.
Thanks for reporting this issue. Unfortunately, I don't have time to look into the problem. But it sounds like it may be a relatively easy fix, so any help would be appreciated.
from hacs-homee.
I've fixed up pymee in my fork and tested it standalone; all good (asyncio version change removed the loop as a param).
But: I can't seem to install it as a req from the repository in HA so haven't tested it with the component itself.
from hacs-homee.
@Stklingner If you submit a PR for pymee I can merge it and release the new version on PyPi so it might be easier to test with HA. However, I have not looked into any of this for a long time so I won't be able to help with testing.
from hacs-homee.
I did find a reference to "loop" in lines 44 and 54 of file init.py and relate them to the error message "TypeError: As of 3.10, the loop parameter was removed " ... though ... I could not even find folder "/usr/local/lib/python3.10". All I see is /usr/local/lib/python3.9. :-/
I'm not familiar enough with homeassistant coding to be able to help, but am more than happy to help with testing ... if that is of value.
from hacs-homee.
Both pymee and the integration need their dependencies bumped and tested against Python 3.10. I have not looked into HA development for a long time so there might be other things that need to be changed.
I still won't work on this issue but happy to accept any PRs...
from hacs-homee.
There still seems to be some sort of hang in the integration set-up; will have a look this weekend.
from hacs-homee.
Spent about half a day on this - although pymee's working just fine the set-up flow call to homee.run() in validate_and_connect() never gets the homee.wait_until_connected() event and just hangs until HA closes the socket...
There's probably something obvious I'm missing - I've tried a direct hass.loop.create_task(homee.run()) and that never gets the await either (works just fine in Pymee) - any clues?
from hacs-homee.
If pymee does work standalone them maybe something changed with the way HA handles async tasks. Although it looks like hass.async_create_task
is still around. Also since the loop
parameter was removed from the asyncio.Event
class maybe some adjustments need to be made to homee._connected_event
/homee.wait_until_connected()
.
Did you try to debug the websocket connection when running in HA? E.g. by using a debugger or logging the events in Homee
?
from hacs-homee.
Have narrowed it down to something to do with HACs cleanup and restarting again and again...
New problem: the token expires and won't renew until restart so will look at that
Plus: I've implemented covers, thinking about doing sensors too for power consumption
from hacs-homee.
🎉 This issue has been resolved in version 1.5.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
from hacs-homee.
Very cool. I just upgraded to 1.5.0 The upgrade itself went just fine and the integration initializes completely.
Just FYI: I do find an error log
"unable to prepare setup for homee.sensor: Platform not found (no module named 'custom_components.homee.sensor')"
In a next step, I'll remove the homee integration completely and reinstall.
from hacs-homee.
Related Issues (20)
- Reloading the 1.5.0 integration disables all Homee entities in Homeassistant. HA needs restart to get them re-enabled. HOT 7
- Unable to prepare setup for platform homee.sensor: Platform not found (No module named 'custom_components.homee.sensor') HOT 2
- No entities generated HOT 3
- Shutter status is not displayed correctly HOT 6
- Expose homee status HOT 3
- No devices showing HOT 6
- Impulse type switches not discovered HOT 27
- Error messages from Websockets HOT 3
- Garage doors discovered but commands dont exist or do not work HOT 38
- Warema WMS Cube cover for slat roof and light not working HOT 26
- hacs-homee does not work at all in the latest home assistant HOT 7
- Integration ABUS Sirene HOT 3
- Automatic pull request to homee for status update of garage door HOT 5
- Update to pymee 1.7.1 HOT 1
- Wrong position display after update V2.5 HOT 5
- Invalid device info HOT 4
- AEON Labs ZW095 Home Energy Meter Gen5 not supported HOT 7
- Entities disappeared after upgrading HomeAssistant to 2023.9 HOT 2
- German translation HOT 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 hacs-homee.