Exposed Variable

In a virtual device there are some exposed variables. How do you access them?

Screenshot? Devices have attributes that are set by commands, but generally do not have 'variables' that can be set (esoteric exceptions apply).


Let me restate. I am using an app which schedules Jewish Shabbat and Yom Tov on Hubitat. The author said he exposed some of the values shown in the screen shot so that other apps could access them. The predominant thing he does is change the Mode to Shabbat which I make major use of already. But it would be helpful if I could access some of these values in RM.

Thanks for the reply

Each of the attributes shown under Current States can be accessed. In Rule Machine these would be available with Custom Attribute for this device.

The values shown under State variables are not available outside of the driver. To make these available there would need to be an attribute defined, and the value put into the attribute by the driver with sendEvent().

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.