Aplicaciones Virtuales Mc driver Applications: Number Fields and Basic Calculations

(EDGE Driver-Mc): Aplicaciones Virtuales Mc (virtual Switch Mirror, Virtual Calendar and virtual Switch Board…) - Devices & Integrations / Community Created Device Types - SmartThings Community

@Mariano_Colmenarejo made this addition to the driver at my request.
I have previously used other solutions to test the functionality of the App routines and Rules API rules. This adds a nice way to testing the App routines and rules API rules.

Routine example:

Add first new List Events device and then you can add this type actions to APP routines and then you can monitor routines execution.

Rules API example

{
  "name": "List Events Example",
  "actions": [
    {
      "if": {
        "equals": {
          "right": {
            "device": {
              "devices": [
                "ID of Virtual Switch device"
              ],
              "component": "main",
              "capability": "switch",
              "attribute": "switch"
            }
          },
          "left": {
            "string": "on"
          }
        },
        "then": [
		  {
			"command": {
				"devices": [
					"ID of Virtual List Events device"
				],
				"commands": [
					{
						"component": "main",
						"capability": "legendabsolute60149.deviceName",
						"command": "setDeviceName",
						"arguments": [
							{ "string": "Example"	}
						]
					},
					{
						"component": "main",
						"capability": "legendabsolute60149.deviceEvent",
						"command": "setDeviceEvent",
						"arguments": [
							{ "string": "On"	}
						]
					}
				]
			}
		  }
        ]
      }
    }
  ]
}

Of course, testing is not the only purpose. You can monitor any activity with this.
Of course, you need to make more routines to monitor the activity.

I have an Ikea On/Off switch. I control a GU10 lamp with it.
The lamp controls are implemented with Rules API rules.
The lamp can be turned on and off and the level can be adjusted step by step.
Now I added this event list device and with it I can monitor the execution of the rules.

Example List Events: