Can HA support Hybrid - Local / Cloud Entities #977
Replies: 2 comments
-
|
I have seen discussions about it in the past for different integrations and it was suggested to make a single integration, to make it simpler for users. To sum up, we should only enforce creating a single integration, the rest is up to the specific case. |
Beta Was this translation helpful? Give feedback.
-
|
Quite often in this case you have 2 different sets of code owners and maybe even no shared code. A similar situation came up with airthings. This lead to an architecture discussion and ultimately to integrations v2 and updates to the brands system. Thanks to this effort we can have 2 different integrations with 2 different sets of code owners stepping on each other for overlapping sets of devices. Personally imo if there's lots of shared code or a single set of maintainers, a single hybrid integration is fine. If it's different maintainers and the code doesn't really share anything (both of these apply to airthings) then 2 separate integrations linked to the same brand like airthings is fine. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Some integrations (that I've personally been involved with)
Seem to have the ability to work both locally as well as in the cloud. For the WeatherFlow integration specifically you can pull local UDP weather data (which is whats in Home Assistant currently) - However - it also has a Cloud Based API which provides forecast as well as a slightly different view of sensor data. When you pull cloud data they will do a little aggregation of neary-by weather stations to add additional filters.
In the case of IntelliFire the APIs are nearly the same but there are a few features of the fireplace that are only available in the CloudAPI.
As it currently stands I think you can only be
Local/CloudandPollilng/PushWhat is the best way to approach a situation like this?
Create two separate integrations:
Weatherflow_localWeatherflow_cloudSingle "Hybrid" Integration
Beta Was this translation helpful? Give feedback.
All reactions