Rounding vs truncating in sensors #294
Closed
Swallowtail23
started this conversation in
General
Replies: 1 comment
-
There is no rounding or truncating at the integration level, all the data are taken as-is from the inverter. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I note that sensor.today_s_pv_generation seems to truncate values instead of rounding them - is that a limitation of the data provided by the inverter?
E.g., noting the following, the first two sensors are from the integration or derivative from them; the subsequent ones with 2 decimal places are via Home Assistant template/integration sensors from power (W) sensors (which round to 2 decimal places).
BTW, the GoodWe sensor.today_s_pv_generation sensor rolls to the next value very closely timed to the integration sensors, e.g. from the screenshot it rolled to 5.2 from 5.1 in similar timeframe to the integration sensors rolling from 5.19 to 5.20
Beta Was this translation helpful? Give feedback.
All reactions