Hubitat Virtual Button Support?

Depending on what the goal is, a Virtual Switch could be a good choice here. Since you want to separately be able to turn things On and Off, even a regular Virtual Switch might make sense - then you could have the group of lights ‘follow’ that virtual switch. (Or use Hubitat’s native ‘Group’ app)

If you specifically want separate tiles for On and Off, then two Virtual Switches configured as momentary devices makes sense:

Another approach would be to create a SharpTools.io Rule and run that directly from your dashboard.


And here’s a bit of additional detail on button like devices in Hubitat if you’re interested…

Background Details... (tap to open)

Buttons in Hubitat are a bit of a quirky thing.

Buttons are supposed to be more like sensors in that they should not define any commands (reference)… they are only supposed to report which button was physically pressed. So from a tile perspective, it didn’t make a lot of sense to create a tile specific to Hubitat’s Button implementation when it would only show the ID of the last button that was pressed. And for a single button device, that would always just show “1” which isn’t particularly helpful.

On the other hand, the Momentary capability exposes a single command called push()… but ironically there is no built-in Virtual Momentary device!

The most common approach is to use a Virtual Switch with the preference set to Auto Turn Off so it acts like momentary switch.