Skip to content

Suggestion: Make sensor configuration modular #41

@dl1ch

Description

@dl1ch

Hi!

I recently bought three Apollo R Pro-1 units, and I’m not using the same sensor configuration on all of them. Each device has a different set of sensors enabled, which highlighted that not every R Pro-1 deployment needs all available sensors active.

Some users will only ever use the always-present LD2450, while others may add optional sensors like the LD2412 or SCD40 depending on their use case. Because of this, it could make sense to split Integrations/ESPHome/Core.yaml into sensor-specific includes, with the LD2450 treated as a base component and the LD2412 and SCD40 included only when present or desired.

This approach would avoid initializing unused sensors, make it clearer which sensors are active on a given device, reduce configuration complexity for users who only need a subset of features, and scale better as new optional sensors are added. Since ESPHome doesn’t support true conditional includes, selecting sensor packages explicitly per device would keep the configuration clear and predictable.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions