<syntaxhighlight lang="ecmascript"> defineVirtualDevice("rs485_cmd", {
title: "Send custom command to RS-485 port", cells: {
enabled: { type: "switch", value: false },
}
});