No, it doesn’t currently support that. I’m pretty busy right now, but you’re welcome to open a feature request or submit a pull request. I’m not sure how that works on the energy card, so I’m not sure the math that needs to be done.
Thanks, I’ll put a feature request on the github. I wouldn’t have a clue how to do a pull request or make my own changes - no dev skills beyond writing some dodgy templates and yaml for HA!
Probably a dumb question, but how can I select the time-range for the card? I have it working but would like to select just todays view. The screenshot shows the total (and I just connect the solar energy meter, so comparison is off).
Thanks!
Also, i am using DSRM P1 energy production/consumption so I am getting two sensors (sensor.energy_consumption_tarif_1 and sensor.energy_consumption_tarif_2). Is there a way of adding them both without creating a new sensor?
This card is designed for instantaneous readings to be displayed, not long-term readings. Your consumption readings appear to be long-term readings which aren’t suitable for this card. That’s why this card doesn’t have date ranges or any way to select historical data; it’s intended for showing the power flow at this moment only.
As @kpfleming says this card is for instantaneous readings, ie power in W or kW
You look like you want energy readings, in Wh or kWh so you need to use the energy card (same as the one in the energy dashboard) but that will display only the same as you have configured in the energy dashboard:
You should look at the second tab in HACS (Frontend) and search for Power Flow Card. Oh, and don’t search in the field on top but use the blue button on the right bottom of the page (explore and download). Otherwise you search in your installed repositories only.
You can use the setting watt_threshold for that. As soon as the value is above that, it will convert to kW. So the larger watt_threshold, the longer it will display W instead.
First-off: thank you for a wonderful and lean card. This actually looks amazingly ‘core’
Only discovered it today, and already seems as if it has always been there. Very nice indeed!
Using it in a swiper to save some space and for full disclosure, this is the first attempt, a straight and plain power-distribution card. Out of the box. :
Please let me ask (ofc I searched buit dont think it’s there): can we name: the entities in the entities object? As you can see I have some (template) sensors in the grid below the swiper, and Id like the distribution card to have the same naming.
second, and that might me more of a suggestion going forward:
why not name the energy-link just like the energy-card uses? Its a tiny bit confusing to have the exact same functionality named link_dashboard: true in the core card, and dashboard_link: /energy in your card
lastly, instead of having that link (which is not particularly nice to look at) why no allow to action: tap_action . Currently these cards do nothing when clicked, and I feel that would be very nice to have.