Lovelace Card - Remove Part of String

I’m using the below in an auto-entities card and the result in the card shows the full entity name, as expected. However, each entity ends with the word ‘battery’ and I want to try and declutter the card by removing that word because, essentially, I know they are batteries.

Is there anything I can add to show the entity name without the word ‘battery’ in each case?

  show_header_toggle: false
  title: Low!!
  type: entities
  state_color: false
    style: |
      ha-card .card-header {
        font-size: 14px;
        color: white;
        font-weight: 600
      ha-card {
          #states > div {
            margin: -15px 0px !important;
        .card-content hui-sensor-entity-row:
              $: |
                .info {
                  margin-left: 0px !important;
        --mdc-icon-size: 18px !important;
        --paper-item-icon-color: orange;
        font-size: 12px !important;
        padding: 0px 0px 0px !important;
        width: 400px !important;
        font-weight: 200;
        background: none;
        .card-content div {
          margin-top: 0px !important;
          margin-bottom: 0px  !important;
    - attributes:
        device_class: battery
      state: < 30
    - name: /[Ll]ow/
    - name: /[Ss]tate/
    - name: iPad M Battery Level
    - name: M MACBook Battery
    - name: iPhone M App Battery Level
    - name: iPhone R App Battery Level
    - state: < 10
  method: state
  numeric: true
show_empty: true