[FR] Possibility to show entity's attribute on the chart
Opened this issue · 3 comments
Is it possible to track an attribute with this card?
For example I use light (dimmer) component to control a pump with variable speed. I would like to see the speed of the pump on the trend also. The same in my HVAC I use some valves/flaps to control the air flow. These are Covers in HA (time based position calculation in %).
Similar functionality is already implemented in ApexCharts, but these are not to flexible like history explorer card is. This is the last feature why I still use Apex parallel to History explorer card.
An example from apex:
- entity: light.example_pump
attribute: brightness
This one will show the brightness instead of the ON/OFF state.
Another similar feature that could be supported at the same time (and might influence the implementation of this one) is plotting climate entities.
plotly-graph-card uses this syntax for them :
- entity: climate.your_thermostat::temperature
In both cases you can probably achieve this by creating a template sensor which has the value you wanted to plot, then adding the template sensor to the chart?
I resorted to doing this a few times before realising some limited manipulation of the state value is possible in the card settings using 'process' rows.
I resorted to doing this a few times before realising some limited manipulation of the state value is possible in the card settings using 'process' rows.
Could you show us an example how to show attribute on the trend using process rows? Thank you in advance! Once we find a easy way to do it, we can add it to the readme of the project ;-)