I have a decluttering card which is templating a mushroom template card and in the secondary field I have a variable callback. I would like to color that variable in the front end. How would I write it so that this works? I currently use card_mod to do some per card styling, I just need a way to wrap the variable to style it.
- type: custom:decluttering-card
template: title_card_template
variables:
- name: signalrgb lighting
- secondary: 'Current Theme: {{ states(''sensor.signalrgb_batched_theme'') }}'
- icon: led-on
- icon-color: null
- shape-color: null
- primary-text-color: null
- secondary-text-color: null