Sensors - Back to basics

Can anyone explain why my battery sensors don’t return the correct icon (based on charge %)?

Thanks.

Did you set the icon manually thriugh the UI or customize.yaml

The sensor is created by ESPHome so I used customize to set the icon…

homeassistant:
  customize:
    sensor.hall_battery_level:
      device_class: battery