> For the complete documentation index, see [llms.txt](https://joe-page-software.gitbook.io/hubitat-dashboard/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://joe-page-software.gitbook.io/hubitat-dashboard/features/click-action.md).

# Click Action

What happens when you 'click' a device tile

By default, clicking on a device tile will perform the tile's main 'action'. For some tiles such as lights this will send a toggle (on/off) command. Other tiles will first prompt you to send the on/off command.

You can configure what happens when you click on a tile by editing the device and selecting 'click action' option

![](https://359348802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk-IVGVr8G2SBHju4g7%2Fuploads%2F0e2qDyC7eDegXIuwGlUw%2Fimage.png?alt=media\&token=8ced31c0-539c-48aa-9f7c-17bfcd8e6ae0) ![](https://359348802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk-IVGVr8G2SBHju4g7%2Fuploads%2FpwB29Mv7xN3tACE4T7O8%2Fimage.png?alt=media\&token=1db0cb7b-6097-4b7f-993a-110cbbacc8c8)

### Click action options

* Toggle - sends the on/off (or equivalent) command to the hub
* Prompt - opens a dialog with both ON and OFF buttons to confirm which one you want to send
* Require PIN - will prompt you with a PIN before you can send any command to the hub for this device; see the [Broken mention](broken://pages/vr8GTiz4rb814tYmo9K3)section for more details
* Read Only - nothing will happen when you click on the tile

### Apply To...

Before you change the click action for a device, you'll get this prompt which lets you apply this 'click action' to:

* **This Device** - will only apply the click action to this device
* **All \<Lights>** - will apply the click action to all devices of the same device type (ie: lights)
* **All Devices** - will apply the click action to all devices

![](https://359348802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk-IVGVr8G2SBHju4g7%2Fuploads%2FjQUZGydbfT6K7TeSJQpJ%2Fimage.png?alt=media\&token=e318716e-cc5e-4a42-b46a-0d20031e1950)
