Is it better to use this automation:
- alias: ‘Turn off PIRs’
initial_state: ‘on’
trigger:
- platform: state
entity_id: switch.pirsklep
to: ‘on’
action:- delay: ‘00:00:02’
- service: switch.turn_off
entity_id: switch.pirsklep
For every motion sensor. So if you have 5 sensors, you will have 5 similar automations or create a single where will be OR for entity_id´s concerning to CPU? Thanks.