POE hat fan settings raspberry pi 3

Hi
The fan on the poe hat is really noisy and seems to go on 100% when it reaches 50 degrees celsius.

I found some instructions on how to change the settings for the fan but these are for the /boot/config.txt

Does anyone know how to make these changes in hass.io??

These are the settings that is supposed to added in the config.txt

dtparam=poe_fan_temp0=80000,poe_fan_temp0_hyst=5000
dtparam=poe_fan_temp1=82000,poe_fan_temp1_hyst=2000