mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 12:26:50 +00:00
Clarify unit_prefix and unit_time for Riemann sum integral (#17895)
* Clarify unit_prefix and unit_time usage * US English
This commit is contained in:
parent
f28203fec7
commit
8ff516ef38
@ -64,7 +64,9 @@ method:
|
||||
default: trapezoidal
|
||||
{% endconfiguration %}
|
||||
|
||||
In case you have an appliance which produces spikey consumption (like an on/off electrical boiler) you should opt for the `left` method to get accurate readings. If `unit` is set then `unit_prefix` and `unit_time` are ignored.
|
||||
In case you have an appliance which produces spikey consumption (like an on/off electrical boiler) you should opt for the `left` method to get accurate readings.
|
||||
|
||||
The unit of `source` together with `unit_prefix` and `unit_time` is used to generate a unit for the integral product (e.g. a source in `W` with prefix `k` and time `h` would result in `kWh`). You can override this behavior by providing a custom value for `unit`. Note that `unit_prefix` and `unit_time` are _also_ relevant to the Riemann sum calculation. Even if you provide a custom value for `unit`, ensure prefix and time accurately reflect the properties of your source data.
|
||||
|
||||
## Energy
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user