If you are referring to shutting down the HE hub, there are a couple of drivers / apps that can do this, the one that springs to mind is:
It includes a command for Shutdown. You could:
- Install the Hub Information driver using HPM
- Create a virtual device using the Hub Information driver, turning on the setting for allowing hub reboot or shutdown
- Create a new virtual button device
- Add the new button device to a dashboard
- Use the button device as the trigger for an Rule Machine rule
- In the RM rule, include an action that is a custom command, calling the Shutdown command on a Hub Information device