Have Entity Card User Sensor Value as Part of Title

Here is an example to try…

type: custom:config-template-card
variables:
  STATE: states['sensor.ups_modelname_2'].state
entities:
  - sun.sun
card:
  type: entities
  title: ${"CyberPower " + STATE}
  entities:
    - sun.sun

1 Like