Logic Machine Forum
Change text depends value - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Change text depends value (/showthread.php?tid=834)



Change text depends value - josep - 13.06.2017

Hi, 

I have an application where I want to see the setpoint temperature only when the thermostat is in comfort, in other cases I want the text 'off' to appear instead of the setpoint value. Can you help me? THX!


RE: Change text depends value - admin - 13.06.2017

You can use a text type object as a status for setpoint temperature. Then you need to assign a script to both setpoint value and confort mode on/off which will then set text object value depending on current status.