Help With checking for sensor group, state off to turn off switch

This does not appear to be a valid entity id. Check in Developer Tools → States. It is likely just group.office_two_motion_sensors.

Also some advice about device triggers and actions: don’t use them.