Skip to content

Agile Negative Rate Handling + Standing Charge in Daily Cost #412

Answered by BottlecapDave
anothermort asked this question in Q&A
Discussion options

You must be logged in to vote

Hello. I assume you mean regarding the current_accumulative_cost sensors? If so, then the main value will go negative if you use more in the negative rate than you consume in the positive plus the standing charge.

Example

5kwh at -10p
1kwh at 10p
standing charge at 30p

total positive = 10p
total negative = -50p
total without standing charge = -40p
total with standing charge = -10p

There is also an attribute if you want the value without the standing charge if that's clearer.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@anothermort
Comment options

Answer selected by anothermort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants