Update:
There’s now a Hubitat Virtual Button custom tile available to more easily integrate HE virtual button devices into your dashboards.
What’s driving those automations? Do you have a Rule Machine rule setup that is reacting to the Virtual Button presses?
Hubitat Virtual Button Approaches
The reason I ask is there’s a few different approaches you could take depending on how the virtual button is being used:
Using a SharpTools Rule to send the push()
command along with your desired button number could work here.
Or if Rule Machine is reacting to the virtual button presses, even calling the Hubitat Rule Machine rule directly with a ‘Cloud End Point’ added to the rule trigger could work.
Why no Virtual Button Tile?
Industry standard “Button” devices are supported since buttons are primarily devices that you physically actuate on a remote and the smart home platform or automation platform listens for those events and reacts to them in rules and such.
Hubitat’s Virtual Buttons are a bit of a bespoke implementation especially when they already have the Momentary capability which could have better covered this (and is also supported as a tile type).
There’s a feature request for Hubitat Virtual Buttons, but it never picked up much interest from the community, perhaps in part because there are a few different workarounds (more on that below), so other highly voted requests have been prioritized.
More background on buttons / virtual buttons / momentary here: