Problem with PWM

Hello. Thank you for your interest. Maybe I can explain why I need an autonomous controller. I have a Heat Pump to control which (compressor power) requires a voltage of -10V. The system I created is intended to use the PID function to act as a thermostat with intelligent power reduction as it gets closer to achieving and maintaining the set temperature. The system based on Wemods D1 is already running, just like ESP Home. PWM output behavior is promising. I don’t know if this is the correct encoding, it works for now. The only thing I miss is the unfortunate display of the PWM output indicator on the display.