EDIT: Now called Universal Virtual Device Switch uDTH in HPM.
This is a Virtual Switch that can also have the following capabilities/functions:
Switch: "on", "off"
Contact Sensor: "open", "closed"
Motion Sensor: "active", "inactive"
Presence Sensor: "present", "not present"
Smoke Detector: "detected", "clear"
Water Sensor: "wet", "dry"
Shock Sensor: "detected", "clear"
Sleep Sensor: "sleeping", "not sleeping"
Battery: 100, 0
Valve: "open", "closed"
(EDIT: I added a bunch more capabilities and features, see post 8 below for more info)
You can select which device types you want it to use (recommend using Motion or Contact if using with Alexa).
There is also the ability to have it auto-shut off (good for motion sensor virtual devices).
This could be used to integrate other systems or devices into Hubitat using IFTTT, Alexa, Webhooks or some other 3rd party platform.
It is similar to @mike.maxwell awesome SmartThings uDTH
If there are some other capabilities you would like added, or ways to improve it, let me know.