Sending data to an analog panel meter

I’ve been enjoying creating a retro display board, using 7-segment displays and big chunky LEDs for displaying info from my home sensor network, using ESPHome on a ESp32 Wroom.

I was wondering if it was possible to control an analog panel meter? I’ve had a crack at it and can get it to turn on and off (ie showing either zero or max) using the ESPHome speedfan component but I can’t work out how to send variable amounts (eg, a temperature value) to the meter. Can anyone point me in the right direction?

Brilliant - I hadn’t come across this when I was searching. Thank you!