feat: add scale_factor and extend value_factor (next) - #877
Closed
X-Ryl669 wants to merge 12 commits into
Closed
Conversation
- 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 <jampez77@gmail.com>
* 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
X-Ryl669
force-pushed
the
mine
branch
2 times, most recently
from
December 1, 2022 15:29
6923d2f to
b45585d
Compare
Collaborator
|
Thanks for picking this up! From first sight and without testing, I'd suggest a few changes:
|
Author
|
Displaying a sensor's state without displaying it's graph
Author
|
Closed to target |
This file contains hidden or 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
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_factorper 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:
