Zwave module UpdateTime -?

var Zwave11 = Modules.InDomain(“HomeAutomation.ZWave”).WithAddress(“11”); // MultiSensor
var UpdateTime = Zwave11.UpdateTime;

Generates the error:

Line 11, Column 26 (Code):
Type HomeGenie.Automation.Scripting.ModulesManager' does not contain a definition forUpdateTime’ and no extension method UpdateTime' of typeHomeGenie.Automation.Scripting.ModulesManager’ could be found. Are you missing an assembly reference?

/usr/local/bin/homegenie/HomeGenie.exe (Location of the symbol related to previous error)

What am I doing wrong?

JG

I have not had much opportunity to mess around in the editor yet, so cannot be a ton of help there. Here is a link to the docs page for the apparent type of Zwave11,

https://genielabs.github.io/HomeGenie/api/ape/a00007.html

It does no appear that Zwave11 (ModulesManager) has a property named UpdateTime.

Edit: Maybe you can utilize the Command function.
https://genielabs.github.io/HomeGenie/api/ape/a00007.html#a15bd3f45509c68eb271307accb7e51aa

                var Zwave111 = Modules.InDomain("HomeAutomation.ZWave").WithAddress("11").Get();
                var updateTime = Zwave111.Parameter("Status.Level").UpdateTime;

fwiw - I wrote this https://github.com/davidwallis3101/TestHGProgram

which replicates the structure a hg program takes when it compiles - but it allows you to use intellisense and then copy and paste the code from the RunCode section into your program code…

I did intend to try and extend HG and get an editor like mirrorsharp working so we could get intellisense - but the ui side is outside of my skill set (with amount of time I have available)