Invalid entity id for dictionary in a Blueprint with a motion sensor

Your blueprint uses a Device Selector for motion_sensor but assigns the value to an entity_id. The error message is reporting you can’t assign 2edf7229d3cfacba059d2d728bcee0d3 (which is a device_id) to an entity_id.