Formatting still not right, I’m afraid. It ought to look something like:
trigger:
- platform: state
entity_id:
- binary_sensor.satel_cz_wejscie
to: "on"
- platform: state
entity_id:
- binary_sensor.satel_cz_wejscie
to: "off"
for:
hours: 0
minutes: 1
seconds: 0
etc. etc.