Display with 74HC595 in ESPHome / Homeassistant

I have connected a 8 digit 7-elements display 75HC595 display to a ESP 32. I want to use it as a display in Home Assistant b.e.

it.printf("01234567");

Pin settings:

    data_pin: GPIO27
    clock_pin: GPIO25
    latch_pin: GPIO26

Does somebody has an example for me how to program with ESPHome YAML?

Thanks in advance!

This should have all the options and some examples too.