-
Notifications
You must be signed in to change notification settings - Fork 240
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 a multiplier to replace the potentially confusing value_factor #591
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this is still an active issue, please let us know! |
Still an active issue, got it! Removing stale label. |
IMHO the Also, should be specified per-entity - #607 |
We should add a simpler multiplier (or similar) property and deprecate value_factor to be removed at a later date (also see #608) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this is still an active issue, please let us know! |
Yeah, i also need that. Having costs per kWh and a cost average for the last hour. So the line of costs per kWh is so small that you can not see any changes in the cent-values, so i have to multiply that bei 5 times, so i can see the price changes in the chart. |
I was also looking for this as I have a forecasted solar radiation in W/m2, and it needed to be multiplied by a factor of 15.57 to equate to the same power as the area of my solar panels. Was looking to have a 'value_factor: 15.57' for that entity. |
Scaling values using the value_factor is too difficult. This should simply be a multiplier, not a factor/exponent of 10 that you want to scale values by. For converting MB to GB or GB to MB it makes it much easier, and for anything that is scaled by 10s then you just multiply by the factor of 10, 100, or 0.1, or 0.01 and it's plain and simple. There should be a pre-scale offset and a post-scale offset for anyone wanting to convert temps between C and F. Then you could pretty much convert between any units anyone should ever need.
The text was updated successfully, but these errors were encountered: