Hoping somebody can point me in the right direction to change the heat set point of a Unistat thermostat either via Indigo trigger or Python script.
I am using a Unistat virtual thermostat device to control a pool heater. The desired set point is obtained via an MQTT broker which is used to set the value of an Indigo variable. I would therefore like the value of that Indigo variable to be used to set the thermostat heat set point. I initially tried to create an Indigo Trigger that would adjust the thermostat set point upon a value change of the Indigo variable, but the Unistat thermostat does not seem to support this feature.
Is it possible to instead set this value via a trigger that runs a Python script? If so, what is the code?