How can I remove leading zero of clock on a display in esphome? need 9:35 instead of 09:35 thx

How can I remove leading zero of clock on a display in esphome?
need 9:35 instead of 09:35. thx. My clock so far: ( %-I produced no output )

time:
  - platform: sntp   
    id: esptime
display:
  - platform: ssd1306_i2c
    model: "SSD1306 128x64"
    address: 0x3C         #
    lambda: |-
      it.strftime(64, 32, id(myfontx), TextAlign::CENTER, "%I:%M", id(esptime).now());

Try "%#I:%M"
https://www.rowleydownload.co.uk/msp430/documentation/index.htm?https://www.rowleydownload.co.uk/msp430/documentation/strftime.htm

Not all “strftime” options are available directly in esphome, one option would be to create a template sensor in HA and display that on the ephome display.

For anyone looking for this in the future, making a template sensor works. This is my template for this. You can then include the sensor in esphome as a text sensor.

- sensor:
  - name: "TimeNoLeadZero"
    icon: mdi:clock
    state: >
      {{ as_timestamp(now()) | timestamp_custom("%-I:%M %p") }}