Architecture changes regarding python-eq3bt #87
Replies: 2 comments 11 replies
-
Hi again! 1. Merge into rytilahti/python-eq3btThis repo diverged too much and also removed features irrelevant to home assistant, plus the owner doesn't own an eq3 anymore (I know because I bought it from him) so I doubt this would work out. 2. Create and maintain a fork of rytilahti/python-eq3btWay to go! We need to publish it to a package repository too 3. Unify package and integrationI believe Home Assistant has a policy against this. |
Beta Was this translation helpful? Give feedback.
-
Glad to see that you are working to get this integrated into the core! 💯 As @dbuezas mentioned, I don't have these thermostats anymore, so the python-eq3bt maintenance will be kept from my side at bare minimums (i.e., just fixing issues/merging PRs/making releases if something comes up). I personally also think that it doesn't make sense to try to merge back into the python-eq3bt, assuming the end goal is to mainly support the homeassistant integration. If you wish to do so though, I can move the ownership of that repository to you somehow. However, having a clean fork is probably better and less hassle for everyone. |
Beta Was this translation helpful? Give feedback.
-
This Home Assistant integration currently contains an altered version of the
python-eq3bt
package. Having the goal in mind to get this integration merged into the Home Assistant core I think it will be necessary to restructure this architecture in one of the following ways:1. Merge into
rytilahti/python-eq3bt
python-eq3bt
package.homeassistant
package; it would not make much sense to distribute this as a standalone library.python-eq3bt
seems to be unmaintained.2. Create and maintain a fork of
rytilahti/python-eq3bt
python-eq3bt2
or similar.homeassistant
dependency from that package for it to make sense as a standalone library.homeassistant
dependency.3. Unify package and integration
BleakConnection
andThermostat
classes.core
, and Home Assistant might require us to keep the connection logic separate from the integration.Personally I would prefer to include the connection logic within the integration as stated in the third proposal.
Since the connection logic currently depends strongly on the Home Assistant
bluetooth
component, I feel that this would be acceptable to be included in the Home Assistant Core. However we should take a look at how other integrations that are using bluetooth handle this kind of problem.Beta Was this translation helpful? Give feedback.
All reactions