Record on sensor changes

It would be nice if you could create rules for linked devices. For instance, if you could tell a camera to record when a door sensor changes. This feature would be nice when the alarm is disarmed but even better when armed.

That way, if you have a camera pointed at a door which has a door sensor, the camera would record upon the door opening keeping a record of everyone entering your home or business.