Using homeyscript for light control

Hi Arnar,
In this topic you’ll find several scripts, but it is in Dutch. (I use translate.google.com or deepl.com for translations of languages I don’t speak (very well) );
The scripts are mostly written in English though: