I need to assign to a variable AirTemperature the value from a system deivice defined by the Pentair Plugin
-Air Temperature: The previous version of the plugin reported the system's air temperature to a variable. As air temperature is now a state of the 'System' device, the variable will no longer be updated.
The python script should be something like this but I am not sure:
AirTemperature = state (indigo.device (deviceID))
I know what the system device ID is that contains the value of the air temperature. Just do not know the syntax for the python script.