08.07.2022, 15:27
You can attach an event script to the heating/cooling mode change and then restart resident PID script like this:
Code:
script.disable('scriptname')
script.enable('scriptname')