I am a real newbee with HA but now i start to think i am really stupid. I have to edit a file to change the behavior of the motion sensor so i started to search which file i have to edit. I found i have to edit the ‘devices.yaml’.
Oke next question when the H… do i find this file.
I ended with installing file editor, studio code server and i even installed a Samba server to acces all the files of HA. BUT I STILL CAN T FIND THE DEVICES.YAML, WTF?
Is there anyone who can tell me what file and where i have to change/add the code into 
Thanks,
Rob