HA on Raspberry Pi Compute Modules?

I’m trying to add the fan controller on a very similar Waveshare board + CM4 (CM4-BASE-IO). I added

# Fan Controller
dtoverlay=i2c-fan,emc2301,i2c_csi_dsi

to the config.txt, and it seems that the fan has been “discovered”. How do I then control it manually from HA?

No idea if you can control it manually, though I’m sure where there is a will there is a way. The main reason to add it is so the kernel can see it and then the OS can modulate the speed based on temp so it isn’t on turbo jet engine mode all the time.