Transforming text in state-label

My new inverter integration reports battery charging with negative values and consumption with positive values:
image

  - type: state-label
    entity: sensor.deye_battery_power
    style:
      top: 76%
      left: 48%
  - type: state-label
    entity: sensor.deye_battery_current
    style:
      top: 84%
      left: 59%

Can I invert the values without creating a new sensor? Or maybe display a “>” or “<” character or mdi-icon depending if the value is positive/negative.