Implement SetAlarmState

Fixes TOOLS-267