kwh calculation #42
Unanswered
DevinTesla
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
Looking at the sample and I have a question on the kwh calculation
is there a time indexing going on in the back ground ?
the example attached below looks to just take the total W /1000 and assume KW =KWh and that's not true
`#Total Watts
name: ${disp_name} Total Watts
id: totalWatts
lambda: return id(totalAmps).state * id(ic1Volts).state;
accuracy_decimals: 1
unit_of_measurement: W
icon: "mdi:flash-circle"
update_interval: ${update_time}
#kWh
name: ${disp_name} Total kWh
power_id: totalWatts
filters:
unit_of_measurement: kWh`
Beta Was this translation helpful? Give feedback.
All reactions