I have an HM motion detector (HMIP SMI55) showing the movements under Hassio. The question is how do I get it that as soon as he detects movement, a lamp is switched on and goes off again after 2 minutes. How can i find out witch singnal will be sed by motion?
Thats wat i tested without function:
platform: state
entity_id: automation.bewegungsmelder
for: '0:00:05'
to: 'on'
from: 'off'