I've created a couple of switches in Domoticz to restart a PC or service by running a bash script. For this type of scenario, once you've clicked the button the script is executed and "On" or "Off" are not appropriate.
When I first created these I used an On/Off switch until I realised that there is a Push-On Button option in Domoticz which does not display On or Off on the dashboard. Unfortunately when I create a block in Dashticz to show this button, Dashticz shows the status as On or Off. (I've tried creating switches with sliders and dimmers and they seem to be OK in Dashticz.)
To get around this I thought I could just hide the state of the block but looking at the block parameters there seems to be:
- hide_data True or false
- last_update True or false
Is this possible to do somehow?
Thanks