public async Task <AlarmResult> Handle(ArmCommand request, CancellationToken cancellationToken)
            {
                await _deviceController.Arm(request.DeviceId);

                return(new AlarmResult
                {
                    AlarmState = (await _deviceController.GetState(request.DeviceId)).AlarmState == AccessControl.Messages.Commands.AlarmState.Armed ? AlarmState.Armed : AlarmState.Disarmed
                });
            }