Sonoff Bridge MQTT PIR Sensor

Hi!

I find configuring HA a bit confusing. I want to add 433 PIR -sensor. It sends 433 signal to Sonoff Bridge which firmware is Tasmota. So far I am able to set sensor-icon having value of “Data”, but that’s it.

What I want is to set that sensor off after 10s and also turn lights on for 5 minutes… maybe if “Away scene” is on I want to send Telegram -message…

So all this is ver complicated. I tried to follow this:

But I am stuck to “configuration.yaml: mapping values are not allowed here” -error. Or like now just basic thing. Sensor shows data-value and expires after 10 seconds - but I can not attach any actions to it.

Any ideas and examples to follow?