Created
January 2, 2022 19:22
-
-
Save SBajonczak/3f9f9abc80fad003d16f78a49d9b7fdb to your computer and use it in GitHub Desktop.
Nuki Script for Opening the deoor after 5 Seconds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on('buttons.default.switch.desktop' _=>{ | |
setTimeout(_=>{ | |
setState('nuki.0.1234567890.actions.openAction',true); | |
},5000); // Wait 5 seconds | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment