Example to turn off all lights(include Alexa lights) on away

Just sharing simple example to turn off all lights when away. This includes Hubitat driven ZigBee lights and any non-Hubitat, Alexa driven lights



Where are you getting the action “voiceCmdAsText”?

This is exposed by using Echo Speaks app:

I suspected Echo Speaks but have not used it myself, hence my question. Thanks for the quick reply, appreciate it! Are you running your server locally (if so, what type?) or hosted through Heroku’s cloud?

I just used it's wizard type instructions during setup and clicked through to use heroku... Working very nicely after setup