Script parameters
ijansch
Gebruiker, Specialist
Based on a post on this forum I've created a script that turns off lights a few minutes after the last movement. This script could be reusable if it supported parameters. Now I've created 4 versions of this script, each calling a different scenario after the timeout. Wouldn't it be nice if you could call the same script and pass the scenario as a parameter to the script?
I.e. in the action editor, when selecting a script, add an additional UI to select a parameter and pass this parameter to the script, so you could do something like this:
WAIT 3 MIN
CALL SCENARIO ($scenario)
I.e. in the action editor, when selecting a script, add an additional UI to select a parameter and pass this parameter to the script, so you could do something like this:
WAIT 3 MIN
CALL SCENARIO ($scenario)
Reacties
-
Thanks for the input, that would be nice indeed! I will put your request on the wishlist.
Categorieën
- 360 Alle Categorieën
- 28 Release notes
- 8 Release notes - Pairot
- 20 Release notes - xxter
- 11 Pairot
- 48 Algemeen
- 5 Device
- App
- 1 Project
- 2 Voice assistants
- 10 xxter
- 126 Algemeen
- 47 Algemeen
- 34 Nieuwe functionaliteiten en nieuwe features
- 21 Apps
- 20 Apps algemeen
- 1 Apps Beta release
- 24 Profielen
- 7 Profiel algemeen
- 16 Pagina's en pagina elementen
- 1 Waarschuwingsservice
- 94 Project
- 6 Logica
- 2 Aanwezigheidsdetectie
- 12 Acties
- 3 BREEAM
- 14 Cameras
- 16 Componenten
- 1 Config Tool
- 6 Opdrachten
- 28 Native scripts
- 3 LUA scripts
- 3 Statistieken
- 50 Device
- 42 Device algemeen
- 3 Toegangsrechten en lokale gebruikers
- 4 Aanwezigheidssimulatie / Presence simulation