Automatons for fan and temperature sensor

All, I have a music studio where it gets warm during the day in the studio I have a fan attached to a smart plug and I also have a smart thermometer (Govee). I was wondering if I can get HA to turn on the fan if the temperature reaches a certain temperature?

That’s exactly the pourpose of HA. :wink: