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

Optional target rate hours if min and/or max rates specified #869

Open
2 tasks done
BottlecapDave opened this issue May 14, 2024 · 0 comments
Open
2 tasks done

Optional target rate hours if min and/or max rates specified #869

BottlecapDave opened this issue May 14, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request More demand needed A feature that will be considered if there is more demand

Comments

@BottlecapDave
Copy link
Owner

Describe the feature

If a min and/or max rate is specified for a target rate sensor, it would be good if the hours were optional. If hours are not specified, then the most amount of slots should be found that meet the requirements.

Expected behaviour

  • Weighting cannot be set if hours are not set
  • If hours are omitted, then min and/or max rate must be specified.
  • If hours are omitted and continuous, then the longest continious slot that meet min/max rates should be reported
  • If hours are omitted and intermittent, then all slots that meet min/max rates should be reported

Use Case

Want to turn on/off a device for as long as possible above/below a certain threshold.

It doesn't feel like a continuous sensor is applicable in this scenario and therefore this could be covered by a template sensor.

Confirmation

  • By submitting this feature request, you agree that you have read the documentation and confirmed it does not already exist
  • I am willing/able to help contribute to the solution of this feature
@BottlecapDave BottlecapDave added the enhancement New feature or request label May 14, 2024
@BottlecapDave BottlecapDave self-assigned this May 14, 2024
@BottlecapDave BottlecapDave added the More demand needed A feature that will be considered if there is more demand label Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request More demand needed A feature that will be considered if there is more demand
Projects
None yet
Development

No branches or pull requests

1 participant