-
Notifications
You must be signed in to change notification settings - Fork 245
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
feat: add scale_factor and extend value_factor (next) #877
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Reduces backend I/O by up to 90% - See related PR home-assistant/frontend#12082 - See related PR home-assistant/developers.home-assistant#1242
* Override icon with an image URL added image attribute to override icon with a URL. (cherry picked from commit dc8aa92) * Correct icon image height Kept parent div class the same. (cherry picked from commit 61fa0d3) * fix lint errors * Add as next version Co-authored-by: Jamie Pezone <[email protected]>
* replace weather.home usage with demo sensors * add support for CDE forwarding (local proxy) + forward 5000 & 8123 * add extra ui graph with color_threshholds edge-case
6923d2f
to
b45585d
Compare
Thanks for picking this up! From first sight and without testing, I'd suggest a few changes:
|
|
Displaying a sensor's state without displaying it's graph
Closed to target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've bootstrapped from PR #608 that was stalling.
I've fixed the remarks and fixed the implementation to also work with negative scale factor.
This allow to have a negative
value_multiplier
(for example, when injecting current in the grid) per entity and also avalue_factor
per entity.I've also fixed the documentation.
This gives this:

where the blue graph is a negative valued since it's a production not a consumption:
