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

Feature Request - Make Rate Limits Runtime Changeable #44

Closed
AlexCWorrall opened this issue Dec 3, 2023 · 3 comments
Closed

Feature Request - Make Rate Limits Runtime Changeable #44

AlexCWorrall opened this issue Dec 3, 2023 · 3 comments

Comments

@AlexCWorrall
Copy link

The rate limits can currently only be set, hardcoded, whilst editing the dashboard.

Would be great if they could be also have the ability to be set by an entity value. For example, I trigger charging my batteries based on an input number which specifies the rate at which to start or stop charging. If I could use that value as a rate limit (likely lowlimit or midlimit), I would be able to see the rate card coloured based in whether my batteries would charge or not within each time period. As I change the input rate, the rate card would dynamically change, giving me quick visual feedback of how many 30 mins slots I would be charging in.

@stevetrease
Copy link

This has been asked for before.

I’ve submitted a pull request (#40) to allow an entity to be used to emphasis cells below a “dynamic value”. Essentially cells below the value of the specified sensor are highlighted with bold, black text. You might want to try that.

I use this exactly as you propose.

@corvus2606
Copy link
Contributor

My latest pull request #61 includes a change that allows an entity to be specified with multipliers for medium and high limits.

limitEntity: sensor.electric_average_unit_rate
mediumLimitMultiplier: 0.8
highLimitMultiplier: 1.1

@lozzd
Copy link
Owner

lozzd commented Jan 26, 2024

This is merged and live in v0.5.0

@lozzd lozzd closed this as completed Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants