Query
If supported by the device being queried this will generate a request for the current value of the physical device. The value is not returned from verb but rather the script continues immediately after the command is sent. Depending on the settings of the specific interface and unit the value will be returned as if a change was received and the On or Off script will be run.
Usage:
query (unit name)
Examples:
query “a non reporting Z-Wave switch"
Notes:
In very old versions of XTension the query verb was synchronous and would return the current value of the unit. While the scripting dictionary still shows such switches as “with no wait” and a timeout function these are no longer supported. All queries are asynchronous. The new value will be returned in the normal way as if a new value had been received from the unit.