| rules: | |
| - name: person-near-steering-wheel | |
| when: | |
| all: | |
| - present: {label: person, min_count: 1} | |
| - near: {a: person, b: steering wheel, max_gap_percent: 8} | |
| gate: | |
| enabled: true | |
| cooldown: {key: turn-on-pc, minutes: 5} | |
| then: | |
| - type: webhook | |
| name: turn on pc | |