Meds Controller
When...
Meds Cabinet
The contact alarm turned on
Then...
Logic
Set
Meds Taken
to
yes