Hi @Jamison - there’s probably a few other approaches that could be taken:
Momentary Tile
I’m not intimately familiar with the CoCoHue integration, but looking at the CoCoHue Scene Driver, it seems like it’s just missing the 'Momentary'
capability. If you add that to the top of the driver where the rest of the capability definitions are and then reauthorize it to SharpTools, you should get the option to change the tile layout to Momentary.
Same Style for On/Off
Another approach we’ve seen community members use with virtual switches that don’t actually reflect state is to set the style for ‘on’ and ‘off’ the same (including making the footer color transparent to hide the on/off state). You would also want to disable the glow on the switch tile so the state stays exactly the same.
SharpTools Rules
Another approach you could use is to use SharpTools Rules to directly send whatever command you want. So rather than having to create virtual devices and react to those in Hubitat’s Rule Machine, you could just create a SharpTools Rule which sends whatever command you want directly to your desired CoCoHue device.
Then you can add the SharpTools Rule directly to your dashboard. Effectively just running whatever action is in the rule when the tile is clicked.
If you have multiple scenes that you’ll be doing this with, there’s even some tricks you can do to use a single SharpTools rule along with the special $.runRule()
hyperlink syntax and IF Conditions to choose which device to send the command too. This approach is slightly more technical, but I’d be happy to provide some guidance if you’re interested as it ends up keeping things nice and tidy in a single rule and no additional devices.