Rename entities in fold-entity-row

Hey guys, i am trying to rename my entities in the fold entity row and am having issues doing this. I got the first part to rename correctly however the entity that is in the fold is not renaming properly. Here is my code and maybe you can provide me with a code that works for the second part for renaming (the sensors in my code)

type: entities
entities:
  - type: custom:fold-entity-row
    head:
      type: simple-entity
      name: Main Bathroom Water Sensor
      entity: binary_sensor.main_floor_bathroom_water_sensor_flood
    entities:
      - sensor.main_floor_bathroom_water_sensor_battery
  - type: custom:fold-entity-row
    head:
      type: simple-entity
      name: Master Bathroom Water Sensor
      entity: binary_sensor.master_bathroom_water_sensor_flood
    entities:
      - sensor.master_bathroom_water_sensor_battery
  - type: custom:fold-entity-row
    head:
      type: simple-entity
      name: Spare Bathroom Water Sensor
      entity: binary_sensor.spare_bathroom_water_sensor_flood
    entities:
      - sensor.spare_bathroom_water_sensor_battery
  - type: custom:fold-entity-row
    head:
      type: simple-entity
      name: Laundry Room Water Sensor
      entity: binary_sensor.laundry_room_flood_freeze_sensor_flood
    entities:
      - sensor.laundry_room_flood_freeze_sensor_battery
  - type: custom:fold-entity-row
    head:
      type: simple-entity
      name: Basement Utility  Water Sensor
      entity: binary_sensor.basement_water_freeze_sensor_flood
    entities:
      - sensor.basement_water_freeze_sensor_battery
title: Water Leak Detection Sensors
show_header_toggle: false
state_color: true

  1. No need to use “simple-entity” here. It is supposed to be used with helpers/switches/covers/locks only - to show a state instead of controls.
  2. To “rename” an entity - use the same “name” option:
  - type: custom:fold-entity-row
    head:
      entity: ...
      name: ...
    entities:
      - entity: ...
        name: ...
      - entity: ...
        name: ...

Next time associate your frontend-related threads to “Frontend” explicitly:


otherwise you may wait a long time to get a feedback.