This is the kind of thing that will keep me from ever using HA as my primary home automation system. If you don’t mind, can you go to the github repo and open an issue on this? I’m tied up today but I’ll get it fixed over the weekend.
Ken, Thanks for helping fix this issue in the custom component. For me, I still prefer HA as my main home automation system because the benefits outweigh the downsides compared to HS. But, for HA , breaking changes are the reason I don’t upgrade to the latest version when released and will wait until the dust has settled and after carefully researching the impacts. A rapidly developing software like HA is bound to have these kinds of issues. We just need to be aware of the issues and deploy it accordingly.
Before I upgrade I take a snapshot. I upgraded pretty quickly, but after seeing the error I rolled it back to .114. After looking into it a bit, I saw what I thought could fix it and tried it and it looked like it did, otherwise I would have left it back on .114. With as easy as it is to restore a snapshot, I usually give it a try pretty quickly, if it doesn’t work, back it goes.
Pull request submitted and pending approval by marthoc. Per the recommendation in my above post, I’ve defined UNIT_PERCENTAGE locally in const.py to decouple the custom component from homeassistant.const. Changing UNIT_PERCENTAGE to PERCENTAGE would have broken the component for HA versions below 0.115.
Do I need to delete the existing “homeseer” directory in the “custom components” directory before I pull from your repo?
Do I go back to the original “marthoc” repo after it has been updated? Or should I stay on your repo?
For sanity purposes, I’d recommend deleting the ‘homeseer’ directory before doing the clone.
Also, since you’d be on a feature branch of my repo, I’d recommend going back to marthoc’s master once my pull request has been merged. Feature branches are usually deleted once they’ve been merged.
Thanks. There is no urgency for me to upgrade to v.115…but it would be nice to test new features. I wish the master branch was merged and updated in a more timely manner - so we would not have to go back and forth between master and feature branches. I realize everyone is busy and this is a volunteer system…so willing to wait. Hopefully the master will be updated soon. Thanks again for all your efforts…
Hi. First time posting on this forum. Spent hours reading through this post before moving forward. Been on HS3 for about 3 years now. Got HA going (vSphere using the HomeAssistant OS option with the docker containers) about 2 days ago.
Just wanted to post a thanks to @kenm for planting the seed for all this knowledge, it’s been so helpful.
I was able with some trial and error to get my HS events and devices into HA using the integration at https://github.com/marthoc/homeseer as described above, working great so far. So thanks to @marthocoo for all your work there, much appreciated!
I’m going to be checking out the MQTT as well but so far I don’t have a use case that will require it.
Finally, much thanks to Franck Nijhof for the VScode and NPM add-ons. So helpful!
(Apologies if I’ve used incorrect names for things or annoyed those I’ve tagged, just a grateful n00b).
My config is public btw in case anyone wants to crib but there’s nothing unique there (yet):
And finally, thanks generally to this community for sharing so much.
Confirming that the latest code at marthoc/homeseer has resolved the percentage/unit_percentage issue for me, I’m no longer getting the error notification, thank you!
HomeSeer Custom Component 0.6 and pyhs3 0.11 have been tested with HS4 4.1.7.0 and appear to be working fine. DISCLAIMER: I can only test against my Z-Wave network so there could still be something lurking out there.
Please report issues on Github and I’ll do my best to help out.