Closed michalk-k closed 1 year ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.
I'm not aware of adding this as a new feature.
BTW I found https://github.com/MindFreeze/ha-sankey-chart provides a similar option. The option doesn't give access to other axes, but provides value of remaining power (remaining_parent_state
and remaining_child_state
)
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.
no interest over here?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This issue was closed because it has been stalled for 10 days with no activity.
I would have liked a similar feature to plot the temperature difference with outside.
I want this too
Checklist
dev
branchIs your feature request related to a problem? Please describe. I'm just starting to play with energy monitoring in my house. I'm facing a problem of inability to display a pie chart, which contains energy consumption from several items as well as item representing all the rest, not included. The latter could be calculated from the difference between the measured total value (I have total consumption of my house available) and sum of listed known values.
Here is an example:
Describe the solution you'd like Currently, as far as I understand the transform method provides variable
x
which contains the calculated value intended for graph rendering. For example, if using group_by/diff, thex
does contain the value of the difference between the first and last value from the bucket.I would like to be able to access the values of the other series and use them in the transform formula. It would open a way to draw pie-chart with one part which is calculated from the total value reduced by the sum of other values. Example
Obviously, the names of variables in the transform formula above are examples only and will depend on a way of referencing available series.
Describe alternatives you've considered There is an option currently. It involves HA Utility Meter helper. It has two downsides however:
Additional context The main problem lays in the fact, that values of consumption sensors grow to infinity. In order to show consumption for a specific time period, it's needed to make a math: calculate the difference between values valid at the end and beginning of the time period. Referencing sensor (like in available examples) obviously doesn't do the job.