watchforstock / evohome-client

Python client to access the Evohome web service
Apache License 2.0
88 stars 52 forks source link

Evohome multiple locations #106

Closed vertol-cz closed 4 years ago

vertol-cz commented 4 years ago

Hi, I need to integrate 4 evohome locations into HA. Is there any chance to do it? I am aware that evohome component docs says that multiple locations at one time are not suported. Is there any plan for component improvement for multiple locations? If there is any serious issue with multiple locations at one time, is there any option how to switch between locations? Your help is very appreciated !

zxdavb commented 4 years ago

@vertol-cz The latest versions of HA use an async version of this library, which is a different repo.

The async version is exactly the same as this version (other than using aiohttp instead of requests), and both can support multiple locations with minimal effort.

That is: adding 'official' multiple location support to this library is not required..

So, the limitation is in HA, and your question is best asked over at HA.

Nonetheless, I wrote the HA integration for evohome, and I can say this:

If you were desperate, what you could do is pull out the evohome component, and convert it to a custom_component (but any CCs must have a unique name)- read this as a starting point.

@watchforstock I think you can close this - it is not really an issue with this library.

vertol-cz commented 4 years ago

Thank you for your explanation David, I will try to deal with it ! You support is very appreciated!

watchforstock commented 4 years ago

@zxdavb Thanks for your answer!