ApexCharts card - A highly customizable graph card

I think you have two options:

  1. use an input_select together with an automation
  2. use code with an IF statement (e.g. javascript using the config-template-card GitHub - iantrich/config-template-card: 📝 Templatable Lovelace Configurations)

The second would be far prettier and I am sure someone can help with this (I am pretty bad with the coding part inside cards). You might well find examples in the forum though if nobody smarter than me responds.

The first option would be based on this thread:

Then you would create a second input_select for your groups and with the new IF statement in automations, change the grouping input_select based on the span input_select. All input_selects are global, so changing it on one graph will change the others also.

So that is an old school solution. Hoping for a slicker solution by someone else. :wink:

1 Like