It appears in an interface when adding a module I can add customData..
var moduleToAdd = new InterfaceModule
{
Domain = this.GetDomain(),
Address = alarm.Zones[i].ZoneNumber.ToString(),
Description = $"Texecom Zone {alarm.Zones[i].ZoneNumber}",
ModuleType = ModuleTypes.Sensor,
CustomData = new { ZoneText = alarm.Zones[i].ZoneName }
};
X10 does similar too:
module = new InterfaceModule();
module.Domain = this.GetDomain();
module.Address = address;
module.Description = "X10 Security";
module.ModuleType = moduleType;
module.CustomData = 0.0D;
securityModules.Add(module);
Is there an example how I can access these from a program, or even a widget?
Thanks