Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use StartStopEventWrapper for sensor events #19131

Open
MartinZikmund opened this issue Dec 26, 2024 · 0 comments
Open

Use StartStopEventWrapper for sensor events #19131

MartinZikmund opened this issue Dec 26, 2024 · 0 comments
Labels
difficulty/starter 🚀 Categorizes an issue for which the difficulty level is reachable by newcomers good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. kind/enhancement New feature or request

Comments

@MartinZikmund
Copy link
Member

What would you like to be added

Currently most sensors use a field + event combo to ensure the sensor tracking is started when the first subscriber is added and stopped when the last subscriber is removed. This logic is encapsulated in StartStopEventWrapper, so to simplify the codebase, it should be used instead.

Why is this needed

No response

For which platform

No response

Anything else we need to know?

No response

@MartinZikmund MartinZikmund added kind/enhancement New feature or request triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. difficulty/starter 🚀 Categorizes an issue for which the difficulty level is reachable by newcomers and removed triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Dec 26, 2024
@MartinZikmund MartinZikmund changed the title Use StartStopEventWrapper for sensors Use StartStopEventWrapper for sensor events Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/starter 🚀 Categorizes an issue for which the difficulty level is reachable by newcomers good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant