The paused and collecting lines are attributes of the two sensors.
Freely admit I don’t know what I’m doing but to add these had to go into the code editor in the entities card config and add the attribute info - bit of trial and error but it works.
two questions:
Where is the configuration code saved? It’s not in configuration.yaml Sometimes just quicker to text edit than go via the UI
Is there any way to display the attribute without the name and ideally without the vertical space so something like:
Daily Cheap Energy 0kW
paused
I continue to be amazed at the capabilities of HA but sometimes hard to know what’s possible.
If you edit via the UI then the dashboard is in “storage” mode and is stored as JSON in the .storage folder. It’s not recommended to edit these files directly.
You can create YAML dashboards and store them in the config directory (or a sub-folder), they are edited entirely in text and the UI editors can’t be used.
It would be great if there was an option to use any attribute as secondary_info, I think that would do what you’re asking for. Sadly, you can’t without installing custom components.
it can do a lot more, you may want that sometime, so it could help to reduce the number of custom cards you use.
Thomas Loven’s cards are generally stable and fixed when HA updates break them (nothing against the other card / maintainer, I don’t use his card, it/he may be great!).
If you use a markdown card, then you can do a lot.
anything in content inside {{ }} will be interpreted as a value to print out, so {{ states('sensor.octopus_go_monthly_peak_rate') }} could be one line and {{ state_attr('sensor.octopus_go_faster_peak_rate','status') }} could be another.
Try to write Monthly Peak Energi {{ states('sensor.octopus_go_monthly_peak_rate') }} Wh to get the same text.
You can also do calculations, like Monthly Peak Energy {{ states('sensor.octopus_go_monthly_peak_rate')/1000 }} kWh
Or calculations between states, like Stupid value {{ states('sensor.octopus_go_monthly_peak_rate')*states('sensor.octopus_go_monthly_cheap_rate') }}