I finally figured out what I did wrong: under children I had - entity_id: sensor.idrac_host1_powerconsumption when I really should have had just - sensor.idrac_host1_powerconsumption. It’s working now that I’ve fixed that.
Here’s the fixed version (still a work in progress though):
OK, i played with new skip section function and it is nice… though not always working as expected. Here are my observations and few screenshots where representing different outcomes. So, I made some section skip on the very bottom part of card, making it stright from section 1 to 5. Not exactly what I expected. While I understand some ‘waviness’ as card is trying to redistribute available space between connections on each level (and this is fine), more troublesome result is visible in section 4, where connections are unnecessarily crossing each other. I guess that is because card is somehow randomly building dummy entries to supplement missing data on specific section level, perhaps starting from the very first section (so later on these are showing higher on the list)…
Strangely moving this skip block one section further causes issue to reapear. Again card drawing first strictly defined blocks and then adding dummy one:
So definitely this requires some play to have it done properly
Another question, would it be possible to implement somehow section skip funtionality for remaining values? As you can see on my screenshots I have in section 3 quite significant element with remaining and woul dbe nice to display it directly in the very last section. Now to make it it would be necessary to create another virtual sensor that would calculate this value and to place it last section… just an idea…
Otherwise; I really love this card! It adds so much spark to data visualization in HA!
I’m using Sheely 3EM to measure energy consumption, but unfortunatelly I did not have enough space to install it next to main grid connection (or rather I have not enough space to install clamps), instead it is installed in main fuses box inside the house. That means that connection to garage (which is other building) is made before place where I can make measurements. So external represents everything that is installed in garage or powered from garage building. Technically it is one of these 3 phases, but Im just not capturing consumption on this part of installation. As such I’m using Powercalc to estimate consumption there.
Because your level 2 section entities are different than one specified as children in section 1…
Though it is a biot strange, as they SHOULD show, but disconnected from section one sensor…
I use the Sidebar view option for the extra width and I also use the Sankey chart card inside an entities card (using custom hui-element) so that the theme matches my other cards. Otherwise the native title option of the Sankey card would require extensive card-mod work as it does not follow the same structure as the core cards.
works fine in general, but not the children part. sensor.ups_watt should be a child of sensor.server_power, but the “remaining” “other” part is never shown. Instead it looks like this
Is it because sensor.ups_watt is not a sensor, but a template? (excuse me if using the wrong nomenclature). Everywhere else sensor.ups_watt works fine.
in configuration.yaml it is defines like this:
- sensor:
- name: "UPS_Watt"
unique_id: UPS_Watt
state: >-
{{ (states('sensor.myups_output_voltage')|float(0) * states('sensor.myups_output_current')|float(0))}}
unit_of_measurement: W
device_class: power
state_class: measurement
Really like this card as well!
Only thing I am struggling is with the coulouring scheme. Could anyone give me a hint how to use it?
I am used to Hex, RGB or CMYK, but never encountered this (var--xyz) scheme…
You don’t have to use that format for the color - you can stick to the simpler color: blue type settings. If you want a more specific color or only colors in certain circumstances then you can get fancier with it.
The first column shows actual definitions of different interface components, the second one displays as comment variable to be used to use specific color in the UI. For this matter you can define in your theme additional colors, that are not specific to UI elements, but also can be used same way. Here is sample of color palette I’m using in my theme:
Did anyone got it working with the children naming?
Tried it with different options via the children part or in the entities part, but nothing seems to work (or is miss something).