This seems so easy but everything I tried is returning errors.
In my thermostat smartapp after the user selects a temperature input, the next input is to enter the temperature setpoint.
What I want to do is display that single temperature reading from the temperature input that was just selected in on the mobile app screen to help me determine what setpoint I want to enter. Easy stuff I would think?
I looked at @krlaframboise code for Simple Device Viewer and also PlantLink-DirectMonitor by @sidjohn1 for examples on how to do this for my use of just a single temperature point in my thermostat app. but the method they use for dynamically getting all the devices I just couldn’t follow. I couldn’t find examples in the ST documentation to learn from either.
Can somebody help? I am not sure of the correct syntax to use I guess because everything I try returns errors.