Brightness Slider: 1 to 10 instead of 1 to 100?

I made a simple Template Light to control my widget. It uses on/off and level. Everything is working great.
I’d like the Brightness slider in Lovelace to show 1 to 10, instead of 1 to 100.
How do I do this?

E.g. this way:


input_number:
  light_slider:
    name: light_slider
    icon: mdi:brightness-6
    initial: 0
    min: 0
    max: 10
    step: 1


automation:
- id: light_slider
  alias: light slider
  mode: single
  max_exceeded: silent

  trigger:
    platform: state
    entity_id: input_number.light_slider
  action:
  - service: light.turn_on
    data:
      brightness_pct: "{{ trigger.to_state.state | int(0) * 10 }}"
    target:
      entity_id: light.your_light