hey @Mario_Willart , please also see my tutorial about how to setup a nice framework for working with motion sensors. As your flows will become more elaborate, you might find it useful. It also covers a solution for your current use-case.